Dedicated servers and limiting outside access question
-
I'm fairly new to networking but have been running a few dedicated servers for me and my friends on an old computer isolated from main network (have two lines coming into the house). I'm wanting to set up a pfSense router and learn a bit more about it and was wondering can it be set it up to allow only certain outside computers with like an authentication keyfile or something on their computer to get through and access the server?
-
They're not going to be able to access your server without you creating a port-forward first, and that forward definition can specify the Source of your traffic. Limit it to just the IP addresses of your friends. You could also configure OpenVPN and then have them login to you that way.
https://doc.pfsense.org/index.php/How_can_I_forward_ports_with_pfSense
https://doc.pfsense.org/index.php/Port_Forward_Troubleshooting
https://doc.pfsense.org/index.php/Firewall_Rule_Troubleshooting
-
Thank you, I'll have to read through the links you provided and see what I can make sense of.
-
Yea i did this as well. Instead of handing out keys you just let their ip access the server. GL With it (And if you need more gamers send me a pm ;).
-
"with like an authentication keyfile or something on their computer "
If you have outside people that you want to limit to access your game.. Simple enough to limit your port forward to their source IPs - if they know them and they do not change all the time. Another option would be to just let them vpn in.. And then through the vpn access the game.. This way you know for a FACT that its them, since they will be the only ones that can auth to your vpn via the cert you give them.