Security for open ports?

Associate
Joined
10 Jan 2009
Posts
1,901
Hi all. I have a few ports open now, for a Synology NAS and a couple of raspberry pi's for other tasks. What can I do to protect my network?
 
Best option is set up OpenVPN server on your Synology, then just forward one port to the VPN server.

Now on your remote devices, install the OpenVPN client, then connect to the Synology, from here you can access the rest of your network :)
 
Oh I see that sounds interesting. Would I then set up port fowarding within synology to connect to the other devices?

Thanks mate
 
Once you're connected to your VPN server, it is like you're on your own internal network so probably no need to forward anything more. It's analogous to being connected to your network at home as if you were physically plugging a cable into your home router. That's assuming your Synology sits on your network at home in a fairly normal fashion i.e. You can get to it from any other machine on your network at home.
 
Two main uses of VPNs:
  1. VPNs you setup yourself so that you can securely dial into your network from outside. You use the VPN to avoid having to have a load of unsecured ports open on your firewall.
  2. VPNs offered by providers such as the one you linked that provide VPN servers you can dial out to. Mainly used by people wanting to try and hide what they're doing on the Internet.
If you mix them up you'll get in a mess.
 
I hope the OP doesnt mind me jumping in.

So if for example a device such as a CCTV camera software uses port 80.. Can you close port 80 and the camera will still be accessible when you logged into the VPN? What i mean are the ports for external access to the network?
 
Yes, once you VPN into your network, it's pretty much as if you were connected directly to your router. Once into the VPN, you're inside the firewall.

You should never open port 80 like that either. Asking for trouble!


edit.
Two main uses of VPNs:
  1. VPNs you setup yourself so that you can securely dial into your network from outside. You use the VPN to avoid having to have a load of unsecured ports open on your firewall.
  2. VPNs offered by providers such as the one you linked that provide VPN servers you can dial out to. Mainly used by people wanting to try and hide what they're doing on the Internet.
If you mix them up you'll get in a mess.

This is important!


Maybe tell us exactly how you want to use everything..
 
Last edited:
If you have to open something up to the world because VPN is not practical for various reasons, then put it in a DMZ or reverse proxy to it if possible. Also a quick win can be to just block access to all IP addresses that are countries you don't ever intend to be accessing the service from.
 
Back
Top Bottom