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

    Port forwarding: Timeout

    Scheduled Pinned Locked Moved NAT
    16 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.
    • RicoR
      Rico LAYER 8 Rebel Alliance
      last edited by

      Your target 10.1.11.175 is using the pfSense Box as default Gateway?
      Are you in manual NAT mode?

      -Rico

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

        So the 141 address is your wan, and your trying to forward to your inside box... So traffic is getting to your wan which is step 1 in figuring out where your problem. So now sniff on the lan side of pfsense to validate pfsense is sending on to your 10.x address..

        All of the info needed to figure out where your problem is documented in the troubleshooting guide.

        BTW your hitting 3024 which is not what you stated as your forwards 3022 is what you state is your forward to ssh

        Sorry but not going to follow some link to some nextcloud of a new poster with a total of 3 posts in this thread ;) Attach your screenshots if you want people to see them.

        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.7.2, 24.11

        L 1 Reply Last reply Reply Quote 0
        • L
          leof.22
          last edited by leof.22

          Thanks johnpoz... I've edited both answers. Perhaps I should take a break ;-)

          The inside machine is using another gateway (octogate firewall) to go outside. The configuration in the octogate firewall allows all outgoing traffic from this inside machine.

          I tried to set all settings as described in Common Problems

          I will try sniff the lan side...

          johnpozJ 1 Reply Last reply Reply Quote 0
          • RicoR
            Rico LAYER 8 Rebel Alliance
            last edited by

            ...set the pfSense Box to default Gateway and give it a shot.

            -Rico

            1 Reply Last reply Reply Quote 0
            • L
              leof.22
              last edited by

              good idea! It will try it when I'm back at school (there is the pfsense an octogate)...

              1 Reply Last reply Reply Quote 0
              • L
                leof.22 @johnpoz
                last edited by

                @johnpoz said in Port forwarding: Timeout:

                So now sniff on the lan side of pfsense to validate pfsense is sending on to your 10.x address..

                How does this works? I thought the "Packet Capture" capture also the traffic from pfsense to inside?

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

                  @leof-22 said in Port forwarding: Timeout:

                  The inside machine is using another gateway (octogate firewall) to go outside.

                  Well how do you think that would work ever??

                  Why would the client ever accept that return traffic? I sent traffic to 1.2.3.4 and get answer back from 5.6.7.8 - doesn't work!!!

                  Packet capture is on the interface you select.

                  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.7.2, 24.11

                  1 Reply Last reply Reply Quote 0
                  • L
                    leof.22
                    last edited by leof.22

                    ok - I've tested the pfsense as default gateway and everything works fine. So far so good.

                    But I can't change the default gateway of our window server from the octogate firewall to the pfsense firewall. What can I do?

                    I don't understand why this depends on the default gateway.
                    Why doesn't the internal server answer directly to the pfsense when the request comes from the pfsense? What do I have to do? I need several changes in the octogate, don't I?

                    Thanks for your help!
                    Leo

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

                      There are 2 solutions you can do here, if the server your wanting to talk to uses a different default gateway other than pfsense.

                      Setup a route on the server telling it to get back to the tunnel network your using to use pfsense as the gateway for that dest network.

                      Setup source nat on your vpn connection so that clients talking to this server will be natted to the pfsense IP address in this network. So the server doesn't have to use any gateway to talk back, since the server has an interface on this 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.7.2, 24.11

                      1 Reply Last reply Reply Quote 0
                      • L
                        leof.22
                        last edited by leof.22

                        Thanks! I've solved the problem. I added a outbound rule (Firewall > NAT > Outbound tab) for the LAN interface:

                        • source of ANY
                        • destination of 10.1.11.175/32
                        • translation = Interface address

                        Now, the next problem appears. More about it in an other thread...

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

                          take it that 100 is really a 10 and that just a typo ;)

                          Glad you got it sorted

                          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.7.2, 24.11

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