Port forwarding security

MARCUS VINCENT asked 2 years 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.

1 Answers
wimiadmin Staff answered 2 years 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