Port forwarding security

MARCUS VINCENT asked 6 months ago

I read your article at:   https://www.whatismyip.com/port-forwarding/
If I open a port to a computer on my internal network from outside, How can I be sure someone else will not find it and exploit it?  Thanks.
 
Mortimer

1 Answers
wimiadmin Staff answered 6 months ago

Hi Marcus. Great question.

With the port open, without further measures in place, traffic can certainly come in through that venue and attempt a hack.

You can try and set restrictions in your firewall or router. In other words, if you know which IP addresses will be connecting via the open ports, you can whitelist those IP addresses and block all others. If this is done at the firewall, IMO that's ideal since the unauthorized connections will never actually make it to your server. However if you're opening something like port 22 for ftp and don't have a firewall, make sure only authorized accounts are able to login and have very strong passwords.

Know the answer? Login or sign up for an account to answer this question.
Sign Up