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

    [Solved] I'm apparently unable to port forward...

    Scheduled Pinned Locked Moved Firewalling
    85 Posts 5 Posters 14.5k 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.
    • NinoM4sterN
      NinoM4ster
      last edited by

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by johnpoz

        Dude don't worry about it - but Pfsense can not forward what it can not see!!! Period.. If pfsense is not seeing the traffic - then its hardware related or something upstream is blocking it.. Pfsense can not forward what it doesn't get, you can not see an answer to your ping if it doesn't get there..

        Did you change it what is your IP now?

        Is this your ISP?
        ALGAR TELECOM S/A

        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
        • DerelictD
          Derelict LAYER 8 Netgate
          last edited by Derelict

          @ninom4ster said in I'm apparently unable to port forward...:

          am like that.. I want things to FUCKING WORK.
          I don't want to debug anything.

          Nice.

          If the traffic does not arrive on WAN there is nothing for the firewall to forward.

          You are going to have to figure out what is going on upstream preventing that traffic from being sent to you. When you have debugged that, your port forward will work. Sorry that maintaining a network is sometimes work. Good luck with your ISP.

          That packet capture is before rules, before snort, before everything. The connections from the outside are not arriving on WAN.

          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)

          NinoM4sterN 1 Reply Last reply Reply Quote 0
          • NinoM4sterN
            NinoM4ster @Derelict
            last edited by

            @johnpoz :

            If the traffic does not arrive on WAN there is nothing for the firewall to forward.

            @Derelict :

            If it never gets to your wan then it can not forward it

            Okay, okay... but I don't really understand how I can solve that...

            I will soon grab an old notebook and do a clean install of Ubuntu Server with Apache on all the default settings, and also format my current pfSense box.... once again... just to see if the problem is my web server or not..

            I don't know what else to try, honestly..

            1 Reply Last reply Reply Quote 0
            • NinoM4sterN
              NinoM4ster
              last edited by

              ah, I may also try the apparently less buggy version, 2.4.3...

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

                It is not a bug - at least not in pfSense. You need to figure out why your upstream/ISP is not forwarding the traffic to you. There is nothing pfSense can do with traffic it never receives.

                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)

                NinoM4sterN 1 Reply Last reply Reply Quote 0
                • NinoM4sterN
                  NinoM4ster @Derelict
                  last edited by

                  But wait.. isn't the Packet Capture thing supposed to show something up when I "sniff" the WAN? I mean, it's a local procedure, right?
                  I got confused when you guys told me "it can't forward what it can't see" because I didn't know if you were talking about the WAN or the LAN.

                  Also, wasn't pfSense supposed to work out-of-the-box? =/
                  I'm almost sure that it was working perfectly when I first set it up weeks ago.. even port forwarding..

                  As I already mentioned, it couldn't be my ISP. Port Forwarding works perfectly on my Mikrotik router (when I swap Pf with it).

                  What's the chance of it being a hardware problem? I'm still not running a Intel NIC since they're unbelievable expensive here where I live..

                  WAN is the onboard NIC on this MB (apparently Realtek), and LAN is a... (also apparently) Realtek generic gigabit NIC.

                  Cheers.

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

                    Are you saying you weren't packet capturing on WAN?

                    If so, do so, and report what you see there. Here's the deal. You are expecting connections from the internet to your WAN address on TCP port 8889. If you packet capture for that traffic ON WAN, test an inbound connection, and the packet capture DOES NOT INCLUDE THAT TRAFFIC then there's nothing pfSense can do. You need to get with your ISP and ask them why they do not forward the traffic to this device but do to that device. It's as simple as that.

                    If you DO see the traffic then we can work with that.

                    pfSense does work out of the box for a great many people.

                    And Realtek NICs are generally considered about as crappy as you can get, but they generally work in most cases.

                    If Intel is too expensive Broadcom is leaps and bounds better than Realtek.

                    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 johnpoz

                      The picture he posted was on his WAN.. There was nothing there to port 8889..

                      You want to meet the train engineer - hard to meet him if the train never pulls into the station.. So how could pfsense forward traffic to a device on your lan, if it never sees it on the wan.. This isn't freaking rocket science here ;)

                      You say it works on your old router.. Well that router going to be a different IP, its going to be a different MAC address of the device connected to the isp. Your isp could be filtering on unknown mac? What is the device your connecting pfsense too exactly what is the make and model number? When you connect pfsense to this device - you actually see the public IP on pfsense wan? 187.73.x.x ?? Or do you see some other IP like 192.168.x.x, 10.x.x.x or 172.16-31.x.x ??

                      If you do not get the public IP yuo say is yours on the the wan interface of pfsense - then it is behind a NAT. And the device doing that nat has to be told to send the specific traffic to pfsense WAN ip.. or no pfsense will never see the traffic to be able to forward to your 192.168 box on your lan.

                      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
                      • NinoM4sterN
                        NinoM4ster
                        last edited by

                        I understand enough about NAT. It is indeed exposed externally, since the WAN does get an external address. I know what I'm doing.

                        I just noticed that I got something wrong when I tried using the Packet Capture.. I was really tired and for some reason I thought it generated traffic itself, somehow.. (don't blame me, it was 3 in the morning..) so that's probably why it was blank..

                        I might try again another day.. Unfortunately I can't simply shutdown everything (to swap the devices) since my dad uses the Internet constantly for wotk..

                        Cheers.

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

                          So what is your public IP now - PM it to me.. And validate that it answers ping.. And if the port forward works, etc.

                          Cuz the IP you sent me still is not answering ping.. So whats the IP when you use this other router..

                          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
                          • NinoM4sterN
                            NinoM4ster
                            last edited by

                            Sent.

                            And btw, my ISP shouldn't block unknown Mac, or else I wouldn't have internet access at all. not even outgoing.

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

                              Doesn't always work that way.. Many an isp allows mac address for some access until its registered, etc. Is quite possible for you to have 1 sort of access with known mac, and then limited sort of access when you have another mac until it gets registered, etc.

                              Your IPs are in completely different net blocks.. So its possible traffic inbound works on netblock A, but not when using netblock B..

                              BTW your new IP doesn't ping either.. But I do show 8889 being open.

                              How come you could not ping my IP? Can you ping my IP now? I showed you when you pinged me before I that I sent a reply.. But you didn't get it, etc. Its possible maybe they have issues on the netblock you get when you install pfsense. Simple test of that would be to clone the mac address of your router so that pfsense uses the same mac on its wan.. This way you "should" get the exact same address as this router for your wan.

                              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

                              NinoM4sterN 1 Reply Last reply Reply Quote 0
                              • A
                                akuma1x
                                last edited by

                                Why are most of the posts deleted in this topic? I was looking forward to following the story.

                                Jeff

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

                                  The OP deleted them - you would have to ask him why he deleted them.. he had some screenshots in them. But none of which showed any personal info, etc.

                                  If the OP wanted them deleted that is his call.

                                  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
                                  • NinoM4sterN
                                    NinoM4ster
                                    last edited by NinoM4ster

                                    This post is deleted!
                                    1 Reply Last reply Reply Quote 0
                                    • NinoM4sterN
                                      NinoM4ster @johnpoz
                                      last edited by NinoM4ster

                                      @johnpoz Yes, I was thinking about spoofing the WAN mac..

                                      About the public address block, I also don't know how they work.. sometimes I get 186.X, sometimes 187.X, and sometimes even 201.X.. it's really weird..

                                      I'll check right now if I have ICMP rule enabled here... yes, I do....

                                      And will also try to ping your IP (though I already did that with no success the other day) Yeah, no response..

                                      Weird thing is that I can ping your IP using this tool.

                                      1 Reply Last reply Reply Quote 0
                                      • NinoM4sterN
                                        NinoM4ster
                                        last edited by

                                        @johnpoz :

                                        Is this your ISP?
                                        ALGAR TELECOM S/A

                                        Ah, sorry.. no, it's not. My ISP (ViaReal) probably use AlgarTelecom's route.

                                        I ran a Traceroute to your IP and it stopped at eqix-dc2.wideopenwest.com [206.126.236.136]. Can you try one at my direction and send me the screenshot?

                                        Thanks.

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

                                          So your ISP is forwarding outbound connections from you but dropping inbound connections. You'll have to ask them why that is.

                                          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 johnpoz

                                            Look at this NONSENSE tracing to you..

                                            >tracert -d 201.162.x.x
                                            
                                            Tracing route to 201.162.x.x over a maximum of 30 hops
                                            
                                              1    <1 ms    <1 ms    <1 ms  192.168.9.253
                                              2    10 ms    11 ms    11 ms  50.4.132.1
                                              3     9 ms     9 ms     9 ms  76.73.191.106
                                              4    31 ms    11 ms     9 ms  76.73.164.121
                                              5    10 ms    12 ms    11 ms  76.73.191.140
                                              6    12 ms    12 ms    12 ms  76.73.164.105
                                              7    10 ms    10 ms    19 ms  76.73.164.65
                                              8    20 ms    11 ms    23 ms  76.73.191.224
                                              9    19 ms    11 ms    15 ms  75.76.35.10
                                             10    32 ms    35 ms    32 ms  75.76.84.231
                                             11    31 ms    32 ms    32 ms  75.76.35.105
                                             12   154 ms   155 ms   156 ms  198.32.160.236
                                             13   157 ms   161 ms   156 ms  200.150.1.169
                                             14   155 ms   155 ms   158 ms  200.150.10.1
                                             15   176 ms   173 ms   173 ms  177.126.100.153
                                             16   175 ms   174 ms   177 ms  10.0.20.190
                                            

                                            16 175 ms 174 ms 177 ms 10.0.20.190

                                            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.