Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Dedicated servers and limiting outside access question

    Scheduled Pinned Locked Moved Gaming
    5 Posts 4 Posters 1.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Q
      questionable
      last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • KOMK
        KOM
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • Q
          questionable
          last edited by

          Thank you,  I'll have to read through the links you provided and see what I can make sense of.

          1 Reply Last reply Reply Quote 0
          • J
            Johanno84
            last edited by

            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 :)

            1 Reply Last reply Reply Quote 0
            • johnpozJ
              johnpoz LAYER 8 Global Moderator
              last edited by

              "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 you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.8, 24.11

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.