Hi @Mohammad Ganji ,
IIS has a module to restrict the IP access site. You can use it to deny anyone else.
Set this module to let IIS deny all unspecified clients.
Then add the IP of public computer outside to allow list.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best regards,
Bruce Zhang