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

    NAT not opening on custom Ports

    Scheduled Pinned Locked Moved NAT
    54 Posts 5 Posters 9.2k 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.
    • R
      RyanH @johnpoz
      last edited by RyanH

      @johnpoz I get the frustration BUT

      I have done EXACTLY what i did to get my server RDP working. and it works! Did it with my main pc IT WORKS, I followed the exact same steps. I even made allowances in the windows firewall. Followed the exact same steps results? Connection failed.

      Solve that one real quick -_-; because I stripped my entire network apart and put it back together piece by piece and yet I yeild the same results!? So believe me when I say The Frustration is mutual

      Heres the funny part too. I did it to my machine WHICH i know replies and guess what... CONNECTION FAILED. I'm one firewall short of flipping a table here

      1 Reply Last reply Reply Quote 0
      • DerelictD
        Derelict LAYER 8 Netgate
        last edited by

        All pfSense can do is forward the traffic. That there is no response is because something inside is configured incorrectly for the task you desire it to perform..

        I don't get what is so difficult to understand about that. How is something on the firewall supposed to conjur up a response from the target host?

        What would you have us do for you?

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

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

          Lets explain it a bit simpler for you..

          Billy - Kevin - Susan

          Billy ask Kevin to say Hello to Susan...

          Kevin ---> Hey Susan Billy Says Hello!!!

          Susan = NOTHING!!!

          Billy can scream all day at Kevin.. Billy can Hit Kevin about the Head with his fists and get all upset at Kevin... But there is NOTHING Kevin can do if Susan doesn't answer...

          What do you not understand here???

          Pfsense sent the SYN, if you do not get an answer there is NOTHING pfsense can do about that.. It did what it was told.. It sent the syn to the IP you told it to send it too.. It does that via arping for the IP and putting the traffic on the wire with that mac on it...

          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
          • R
            RyanH @Derelict
            last edited by

            @derelict @johnpoz

            Ok, so what would you suggest at this point because I'm out of ideas.

            If your just gonna point me to the guide, can you at least make a suggestion one which point specifically to look at?

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

              There is no guide for troubleshooting your network... You have already determined the problem is NOT pfsense... Pfsense sends the SYN..

              So you need to figure out why its either not getting to the client??
              Wrong IP, Wrong mac? VMware blocking it?

              Or why the client is not answering?
              Not actually listening on the PORT? It is running a firewall? And the application never gets the SYN? Its using some other default gateway or some other routing sending source IP to some other location?

              Is the client even ON?

              I would suggest you for starters actually validate that the box is even listening on that port.. simple netstat -an for example... Sniff on the box does it every see the SYN?? Does it actually answer but sending it some where else?

              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

              R 1 Reply Last reply Reply Quote 1
              • R
                RyanH @johnpoz
                last edited by

                @johnpoz said in NAT not opening on custom Ports:

                There is no guide for troubleshooting your network... You have already determined the problem is NOT pfsense... Pfsense sends the SYN..

                So you need to figure out why its either not getting to the client??
                Wrong IP, Wrong mac? VMware blocking it?

                Or why the client is not answering?
                Not actually listening on the PORT? It is running a firewall? And the application never gets the SYN? Its using some other default gateway or some other routing sending source IP to some other location?

                Is the client even ON?

                I would suggest you for starters actually validate that the box is even listening on that port.. simple netstat -an for example... Sniff on the box does it every see the SYN?? Does it actually answer but sending it some where else?

                deletes the VM and starts again

                I doubt this is problem but I did install the N version of PRO. So I'm reinstalling regular pro.

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

                  Yeah that has NOTHING to do with your problem.. Doesn't matter if it was windows 95, 98, nt, 2k, xp, 7, 8, 10 - doesnt freaking matter what OS was running to validate basic networking..

                  So did you validate its listening with netstat -an

                  Did you validate pfsense was actually sending to the correct mac address of the machine with the IP address?

                  Did you sniff on the machine to see if the syn was getting there or not?

                  The only thing we are sure of was that pfsense put a syn on the wire to IP address xyz.. But was that actually the IP of the machine listening..

                  That you could not even ping the IP from pfsense IP on the same network screams of firewall!! Be it on the host, or the VM host running the VM.. For we know the VM was behind a NAT you setup on your VM host, etc.

                  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

                  R 1 Reply Last reply Reply Quote 0
                  • R
                    RyanH @johnpoz
                    last edited by

                    @johnpoz said in NAT not opening on custom Ports:

                    Yeah that has NOTHING to do with your problem.. Doesn't matter if it was windows 95, 98, nt, 2k, xp, 7, 8, 10 - doesnt freaking matter what OS was running to validate basic networking..

                    So did you validate its listening with netstat -an

                    Did you validate pfsense was actually sending to the correct mac address of the machine with the IP address?

                    Did you sniff on the machine to see if the syn was getting there or not?

                    The only thing we are sure of was that pfsense put a syn on the wire to IP address xyz.. But was that actually the IP of the machine listening..

                    That you could not even ping the IP from pfsense IP on the same network screams of firewall!! Be it on the host, or the VM host running the VM.. For we know the VM was behind a NAT you setup on your VM host, etc.

                    PFSense gives it a static IP via MAC address (which i have located from the VM Itself) and therefore the PFSense talks to that machine DHCP wise. I can ping the machine via my machine. When I ran Netstats it wasn't listening to the port (However this could be the fact the software wasn't running at the time),

                    Both Firewalls have been allocated on the actual machines not PFSense to let those ports 7777 and 27015 through on private and public. The VM talks to my machines on the network because the game appears in my lobby under LAN only.

                    So local machines screaming at the server and the server screams back. outside of that its screams and its like a tree falling in the forest

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

                      Does the device have a gateway.. It can not talk outside of local network without a gateway.

                      Do a port test from the pfsense interface in that network.

                      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
                      • R
                        RyanH
                        last edited by

                        PFSense says connection refused. i've tested the source from WAN, Network all options, all I get is refused.

                        The device has a gateway of 192.168.1.1 (PFSENSE)

                        Outside of that there is no other device. it basically got Openreach Modem -> NIC1 (PFSense WAN) then it goes NIC2 (LAN DHCP) -> 8 Port Unmanaged Switch

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

                          Posted in wrong thread

                          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

                          R 1 Reply Last reply Reply Quote 0
                          • R
                            RyanH @johnpoz
                            last edited by

                            @johnpoz said in NAT not opening on custom Ports:

                            see my edit... Put a box on your wan network of pfsense and do your testing...

                            As you can see from that edit - that site is not very reliable for what your speed is or should be..

                            Here just started download of file from one of my servers in the NL... I have a 500mbps connection seeing 53MBps down... My connection is fine - but that scott iperf showing junk..

                            0_1544626409419_speed.png

                            You sure this was for me? I don't think i've mentioned anything about scottlinux?

                            1 Reply Last reply Reply Quote 0
                            • DerelictD
                              Derelict LAYER 8 Netgate
                              last edited by

                              Using Diagnostics > Test Port sourcing from the WAN interface might not work. I know there are issues testing pings to the inside like that apparently due to all the route-to and reply-to done on the WAN. Test it sourcing from LAN. Or any.

                              Chattanooga, Tennessee, USA
                              A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                              DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                              Do Not Chat For Help! NO_WAN_EGRESS(TM)

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

                                My bad wrong thread - how and the hell did that happen..

                                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

                                R 1 Reply Last reply Reply Quote 0
                                • DerelictD
                                  Derelict LAYER 8 Netgate
                                  last edited by

                                  You can move around and the reply at the bottom is sticky to the thread you started it on.

                                  Chattanooga, Tennessee, USA
                                  A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                                  DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                                  Do Not Chat For Help! NO_WAN_EGRESS(TM)

                                  1 Reply Last reply Reply Quote 0
                                  • R
                                    RyanH @johnpoz
                                    last edited by

                                    @johnpoz said in NAT not opening on custom Ports:

                                    My bad wrong thread - how and the hell did that happen..

                                    sok bud. So going back to the original message... thoughts?

                                    1 Reply Last reply Reply Quote 0
                                    • R
                                      RyanH
                                      last edited by

                                      Interesting little find. @Derelict @johnpoz

                                      0_1544690970867_6a484596-51d0-4bbf-80be-6c46ee034a55-image.png

                                      Despite the fact we were using it last night on a local network (Me and 1 other computer were sat using the ARK server it was working fine.

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

                                        Not sure what is interesting about the box not working... We knew that days ago when you saw pfsense sending syn with no answer..

                                        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 1
                                        • R
                                          RyanH
                                          last edited by

                                          @johnpoz said in NAT not opening on custom Ports:

                                          Not sure what is interesting about the box not working... We knew that days ago when you saw pfsense sending syn with no answer..

                                          It's more the fact its not even talking to itself.. That is the VM itself

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

                                            Yeah again - we knew it was the BOXes problem.. Is the service even running? simple netstat show if 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

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