The pfSense Store

Author Topic: Dedicated servers and limiting outside access question  (Read 247 times)

0 Members and 1 Guest are viewing this topic.

Offline questionable

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Dedicated servers and limiting outside access question
« on: April 19, 2017, 08:30:17 pm »
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?
« Last Edit: April 19, 2017, 08:53:39 pm by questionable »

Offline KOM

  • Hero Member
  • *****
  • Posts: 5185
  • Karma: +641/-17
    • View Profile
Re: Dedicated servers and limiting outside access question
« Reply #1 on: April 20, 2017, 08:54:16 am »
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

Offline questionable

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Dedicated servers and limiting outside access question
« Reply #2 on: April 22, 2017, 09:18:48 am »
Thank you,  I'll have to read through the links you provided and see what I can make sense of.

Offline Johanno84

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Dedicated servers and limiting outside access question
« Reply #3 on: April 25, 2017, 11:16:38 pm »
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 ;).
If i can get it right just once :)

Offline johnpoz

  • Hero Member
  • *****
  • Posts: 12675
  • Karma: +1104/-108
  • Not a pfSense employee, they cannot fire me...
    • View Profile
Re: Dedicated servers and limiting outside access question
« Reply #4 on: April 27, 2017, 06:48:44 am »
"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.
- An intelligent man is sometimes forced to be drunk to spend time with his fools.
- If I have helped you and want to help back, https://www.freebsdfoundation.org/donate/
- Please don't PM me for personal help, info you don't want public sure. Link to thread you would like me to look at ok, etc.
1x SG-2440 2.3.3_p1 (work)
1x 2.4.0-BETA Jun 22 03:42:40 VM running on esxi 6.5 (home)