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

    Unable to access a host on another subnet but can from pfSense [SOLVED]

    Scheduled Pinned Locked Moved Routing and Multi WAN
    33 Posts 4 Posters 3.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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator
      last edited by

      Your post does not show a change in source port.. It's 52469 from the .0.3 box and when it gets forwarded from 1.1..

      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
      • L
        lavito
        last edited by

        @johnpoz:

        Your post does not show a change in source port.. It's 52469 from the .0.3 box and when it gets forwarded from 1.1..

        OK, get it (was late  :D).  Still don't get why non static does not work.

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

          No idea… Sniff the traffic to see what you get back from the syn that is sent.. My guess is your getting RST back from the device because there is a session open or something.

          Did you try rebooting the AP?

          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

            Giving you some bunk info messing up between outbound NAT and port forwards. Sorry.

            Set it like this:

            ![Screen Shot 2017-11-11 at 7.29.43 AM.png](/public/imported_attachments/1/Screen Shot 2017-11-11 at 7.29.43 AM.png)
            ![Screen Shot 2017-11-11 at 7.29.43 AM.png_thumb](/public/imported_attachments/1/Screen Shot 2017-11-11 at 7.29.43 AM.png_thumb)

            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

              Good catch Derelict.. This is outbound nat you wouldn't set the NAT.. That would be done automatic.  You would do that with port forward inbound.  But shouldn't it work anyway?

              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

                That was effectively static port. I would expect that to work intermittently at best.

                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
                • L
                  lavito
                  last edited by

                  @Derelict:

                  Giving you some bunk info messing up between outbound NAT and port forwards. Sorry.

                  Great catch!

                  It now works ether way, when I set it as static or if I set it to any (non-static). I am now using (non-static)

                  Thank you!

                  1 Reply Last reply Reply Quote 0
                  • L
                    lavito
                    last edited by

                    @Derelict:

                    That was effectively static port. I would expect that to work intermittently at best.

                    I am trying to understand this statement, can you please go into a bit more detail to explain?
                    I.e. Why would you expect this to work intermittently?

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

                      Because static port sets the NAT source port so it never changes.

                      That was effectively setting your source port to 80 and the dest port was 80.

                      You can only have one firewall state from ip_address_1:80 to ip_address_2:80. So even if the browser tried to open multiple connections to the AP's web interface the potential for them to fail was there.

                      With static source port the NAT (PAT really) will work around that by translating the source port to any available port in the NAT table.

                      You do not want or need static port here. Leave it off.

                      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
                      • L
                        lavito
                        last edited by

                        Thanks for the info and all the help. Cheers. 8)

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