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

    Port forward for Steam

    Scheduled Pinned Locked Moved Gaming
    16 Posts 2 Posters 2.6k 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.
    • natethegreat21N
      natethegreat21
      last edited by

      I have a windows server that has Steam server software that needs to have a port opened to work and for some reason its not working at all. I have verified that the service provider is not the issue. I have played with the rules for hours and im just stuck. Just to make sure the server wasn't the issue I disabled the firewall with no luck. Please see the attached screenshots and hopefully, someone can see if I made a mistake. also as an FYI the windows system is on a VLAN (15). Thank you!!
      3.PNG 2.PNG 1.PNG

      natethegreat21N 1 Reply Last reply Reply Quote 0
      • natethegreat21N
        natethegreat21 @natethegreat21
        last edited by

        4.PNG

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

          @natethegreat21 your wanting to host a game on that 7779 port?

          I don't show steam needing any inbound ports open
          https://help.steampowered.com/en/faqs/view/2EA8-4D75-DA21-31EB

          If your trying to port forward 7779 to your machine on 192.168.150.3 why would you have the firewall rule set to ! 192.168.50.3 - that is saying you can go to any IP other than that IP.

          If you just let the port forward create the associated rule it would do it correctly.

          Also why would you setup an outbound nat for destination of that port source to be same 7779? That is almost never correct. Source port would be any. There would be no outbound nat needed for a port forward.

          Also why are you trying to setup a pure nat for nat reflection? Nat reflection is only needed if your client behind pfsense is trying to access pfsense wan IP to get to a local resource.

          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

          natethegreat21N 1 Reply Last reply Reply Quote 0
          • natethegreat21N
            natethegreat21 @johnpoz
            last edited by

            @johnpoz Thank you for your response! I am hosting a game server that other players will connect to so it needs that port open according to them. I have unchecked the "Invert match" box. I have also disabled NAT reflection.I rechecked the a few port checker websites off my phone on cellular and its still saying the ports are closed for some reason.

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

              @natethegreat21 Well lets see your port forwards and your wan rules.

              First step is always validate traffic is getting to you - simple packet capture on your wan while you go to say can you see me . org

              Here created a port forward for 7779, even though my machine isn't listening on this port, very simple to verify getting to my wan, and being sent on to my lan device.

              You can see my port forward and wan rule.

              Went to can you see me sent traffic to that port. I can see it on my wan packet capture, and I can see that it sent it on to my lan device on 192.168.9.100 - it sent back a RST.. Saying hey nothing here on that port

              portforward1.jpg

              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

              natethegreat21N 1 Reply Last reply Reply Quote 0
              • natethegreat21N
                natethegreat21 @johnpoz
                last edited by

                @johnpoz Okay I set everything up like you have in the screen shots and did a packet capture and I see the request coming from the server to the WAN IP and when I check the LAN side nothing is being captured for that port.

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

                  @natethegreat21 well then something wrong with your port forward, if your saying when you sniff on the lan, and your not seeing any traffic to that IP you setup your forward to.

                  But you see it hit your wan IP on that port..

                  Could be pfsense can not even talk to that IP, pfsense can not send the traffic if there is no mac in the arp table for that IP.

                  Maybe you have a floating rule that blocking the port forward..

                  Use the port tester in pfsense.

                  Here I tested port to IP on my lan, that I know it open.. But I don't forward to it - but you can see pfsense was able to talk to it.

                  porttest.jpg

                  Did you capture on the right lan side interface, do you have this setup on a vlan? Happy to help you but without specific details, just guessing to what you have incorrect or wrong, or would could be stopping it from working.

                  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

                  natethegreat21N 1 Reply Last reply Reply Quote 0
                  • natethegreat21N
                    natethegreat21 @johnpoz
                    last edited by

                    @johnpoz the IP is on VLAN 15 and when I tested the port it failed. I have also attached the floating rules which were stup to prevent the VLANs from talking to the firewallFloating.PNG Fail.PNG

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

                      @natethegreat21 well from that test, you know for sure that even if pfsense can talk to that IP - its not listening on that port, or sending a RST.

                      Can pfsense even ping the IP? Look in the arp table - do you see mac listed for that IP?

                      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

                      natethegreat21N 1 Reply Last reply Reply Quote 0
                      • natethegreat21N
                        natethegreat21 @johnpoz
                        last edited by

                        @johnpoz Yes I see the MAC and IP listed. ARP TABLE.PNG

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

                          @natethegreat21 well clearly the box is not working on 7779..

                          So doesn't matter if pfsense port forward working or not, its not going to work if the port is not listening on the port.

                          You sure that is the IP is your game is running on, look via netstat on the machine and validate 7779 is actually listenging..

                          For example you can see on my nas that its listening on that 5001 I tested too

                          ash-4.4# netstat -an | grep :5001
                          tcp        0      0 0.0.0.0:5001            0.0.0.0:*               LISTEN     
                          tcp6       0      0 :::5001                 :::*                    LISTEN     
                          ash-4.4# 
                          

                          netstat works on windows as well

                          $ netstat -an
                          
                          Active Connections
                          
                            Proto  Local Address          Foreign Address        State
                            TCP    0.0.0.0:135            0.0.0.0:0              LISTENING
                            TCP    0.0.0.0:445            0.0.0.0:0              LISTENING
                            TCP    0.0.0.0:2008           0.0.0.0:0              LISTENING
                            TCP    0.0.0.0:3389           0.0.0.0:0              LISTENING
                            TCP    0.0.0.0:5040           0.0.0.0:0              LISTENING
                            TCP    0.0.0.0:5357           0.0.0.0:0              LISTENING
                            TCP    0.0.0.0:6045           0.0.0.0:0              LISTENING
                            TCP    0.0.0.0:28525          0.0.0.0:0              LISTENING
                            TCP    0.0.0.0:31111          0.0.0.0:0              LISTENING
                            TCP    0.0.0.0:49664          0.0.0.0:0              LISTENING
                            TCP    0.0.0.0:49665          0.0.0.0:0              LISTENING
                            TCP    0.0.0.0:49666          0.0.0.0:0              LISTENING
                            TCP    0.0.0.0:49667          0.0.0.0:0              LISTENING
                            TCP    0.0.0.0:49668          0.0.0.0:0              LISTENING
                          

                          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

                          natethegreat21N 1 Reply Last reply Reply Quote 0
                          • natethegreat21N
                            natethegreat21 @johnpoz
                            last edited by

                            @johnpoz So I see the port there under UDP but it does not say its listening for some reason.

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

                              @natethegreat21 well if its not listening that would explain why you can not talk to it

                              But that wouldn't explain why you didn't see it send on the traffic. But until you can see it listening and the port tester validates the port is up and pfsense can talk to it. doesn't matter if your port forward is working or not.

                              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

                              natethegreat21N 2 Replies Last reply Reply Quote 0
                              • natethegreat21N
                                natethegreat21 @johnpoz
                                last edited by

                                @johnpoz I looked on the windows machine to see of the ports were listening and they didn't say they were its showed its there but it didn't have the listening next to it. I did notice that I can ping the 192.168.150.1 but not the 192.168.150.3

                                1 Reply Last reply Reply Quote 0
                                • natethegreat21N
                                  natethegreat21 @johnpoz
                                  last edited by

                                  @johnpoz I don't usually have this many issue with port forwarding so not really sure what the next step would be at this point. Got any suggestions please?

                                  natethegreat21N 1 Reply Last reply Reply Quote 0
                                  • natethegreat21N
                                    natethegreat21 @natethegreat21
                                    last edited by

                                    @natethegreat21 I will also note that this windows machine is a VM

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