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

    Port forwarding for a game server?

    Scheduled Pinned Locked Moved NAT
    7 Posts 5 Posters 911 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.
    • J
      Joe_Papa
      last edited by

      The situation so far:

      • I wish my game server to be visible to the internet on a particular port.

      • My ISP has provided me with at static IP.

      • I have configured the game server to use a particular port and the server is running.

      • In pfSense Firewall/NAT/Port Forwarding I have added a redirect entry from the WAN interface on UDP protocol for port XXXX to redirect to the IP address of the game server. I have enabled NAT reflection (Pure NAT) and created a filter rule association.

      I cannot access the server and when I check the port with canyouseeme.org it says the port is blocked... What am I missing?

      KOMK S V johnpozJ 4 Replies Last reply Reply Quote 0
      • KOMK
        KOM @Joe_Papa
        last edited by

        @joe_papa UDP services will always show as closed. Are you testing from your LAN or from outside your network? You should be testing from outside. NAT Reflection only applies to LAN clients trying to hairpin out and back in. Do a packet capture on WAN then LAN to verify that the game traffic is hitting your WAN and then being forwarded to your game server. You should also post screens of your NAT rule and WAN rule so folks here can check it.

        Port Forwards

        Troubleshooting NAT Port Forwards

        1 Reply Last reply Reply Quote 0
        • S
          SteveITS Galactic Empire @Joe_Papa
          last edited by

          @joe_papa is there a firewall on the game server?

          Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
          When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
          Upvote 👍 helpful posts!

          J 1 Reply Last reply Reply Quote 0
          • J
            Joe_Papa @SteveITS
            last edited by

            @steveits It is running on a VM of Windows10Pro. I have added a firewall exception for the server executable.

            1 Reply Last reply Reply Quote 0
            • V
              viragomann @Joe_Papa
              last edited by

              @joe_papa said in Port forwarding for a game server?:

              In pfSense Firewall/NAT/Port Forwarding I have added a redirect entry from the WAN interface on UDP protocol for port XXXX to redirect to the IP address of the game server. I have enabled NAT reflection (Pure NAT) and created a filter rule association.

              I cannot access the server and when I check the port with canyouseeme.org it says the port is blocked... What am I missing?

              I assume that the port scanner is not capable to check UDP ports like almost all other port scanners too.

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

                @joe_papa what game server your actually trying to setup, and the port or ports you have forwarded.. A screenshot of this screen and your actual wan rules is always worth 10k words..

                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

                J 1 Reply Last reply Reply Quote 0
                • J
                  Joe_Papa @johnpoz
                  last edited by

                  @johnpoz thanks for the comments. I'm setting up a NWN:EE server. After more testing it turned out to be working perfectly from outside as some here had mentioned might be the case. I couldn't test it from within my network. Thanks very much for the suggestions and tips.

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