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

    Totally stumped

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    17 Posts 4 Posters 1.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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      Yes, the outbound NAT rules do not determine which interface traffic will use. They only determine what translation will happen there if/when traffic exits by that interface.
      Your policy routing rule on the DMZ interface is probably either missing or not catching the traffic as intended.

      Steve

      B 1 Reply Last reply Reply Quote 1
      • B
        bigraz1968 @stephenw10
        last edited by

        LAN Rules

        3269c820-3de4-43e1-bc43-3faedf699470-image.png

        DMZ Rules

        e21beab0-c031-4246-a0d1-1e0b277f12ec-image.png

        1 Reply Last reply Reply Quote 0
        • B
          bigraz1968 @johnpoz
          last edited by bigraz1968

          Guys;

          This is the exact config from my 2.4.3 build . I just restored my config on my 2.4.4 build. I didn't make an changes.

          All that you see is from AirVPN setup guide guide. It worked fine until the upgrade
          Thanks

          Randy

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

            And what traffic exactly do you see going out your wan vs your vpn? Lets see your state table.

            Your rules allow anything going out 443 to just use wan..

            ruleoutwan.png

            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

            B 1 Reply Last reply Reply Quote 0
            • B
              bigraz1968 @johnpoz
              last edited by

              @johnpoz

              2ee997b8-919f-4b2d-905b-05f4389d7c96-image.png

              I'm not sure why I added the rule. I may have been troubleshooting and forgot to remove it.

              Thanks

              Randy

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

                looks like all 443 traffic to me ;)

                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

                B 1 Reply Last reply Reply Quote 1
                • B
                  bigraz1968 @johnpoz
                  last edited by

                  @johnpoz

                  Yeah it does. I need to figure out why :(

                  If I do a What is my IP on a machine in the DMZ, It gives me back my WAN IP? I need all my traffic to go through the VPN.

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

                    Well you have a rule that says going to 443, just use default routing - so yeah going to go out the normal 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

                    B 1 Reply Last reply Reply Quote 1
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      Yup. 😉

                      Coming from 2.4.3 you should check your default gateway/route though. The handling of that changed significantly in 2.4.4 and it was possible to end up without a default route in some edge cases.
                      The VPN connection may have been previously setting a new default route when it connected. That's generally undesirable, better to specify exactly which gateways should be used.

                      Steve

                      B 1 Reply Last reply Reply Quote 1
                      • B
                        bigraz1968 @johnpoz
                        last edited by

                        @johnpoz

                        I changed that 443 rule to use the VPN gateway an now my What is my IP is returning my VPN address like I wanted. The odd thing is my LAN always returned my VPN address.

                        My gateway is set to my WAN by default. Should I make the VPN the default?

                        Thanks a lot

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

                          The best option when wanting to use vpn services is NOT to pull routes from them!!! I repeat - while they might list it in their guide to pull routes, etc. set them as default..

                          The better option is to NOT PULL ROUTES from your vpn service, and just policy route how you want - if you want everything to go out vpn, its simple rule.. If you want x to use wan and y to use vpn, again its very simple and straight forward with policy routing... Not so much when they are overriding your default route, etc. 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

                          B 1 Reply Last reply Reply Quote 1
                          • B
                            bigraz1968 @stephenw10
                            last edited by

                            @stephenw10

                            Do you recommend me changing the gateway to making the VPN the default not the WAN?

                            1 Reply Last reply Reply Quote 0
                            • stephenw10S
                              stephenw10 Netgate Administrator
                              last edited by

                              Nope. Do what johnpoz said above. Once the VPN client is not changing your default route when it connects you can better control exactly what traffic you want going where using policy routing.

                              Your LAN rules look to be policy routing everything over the VPN including port 443. It looks like that rogue 443 rule on DMZ was your issue.

                              Steve

                              1 Reply Last reply Reply Quote 1
                              • B
                                bigraz1968 @johnpoz
                                last edited by

                                @johnpoz

                                The AirVPN guide has the Do not pull routes checked so that is what I do. I do override the VPN to allow Netflix to work and also my email server but that is it.

                                I learned something today.

                                Thanks guys. Much appreciated

                                Randy

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