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

    Does marking a gateway as default mean anything?

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 3 Posters 979 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.
    • F
      FarmerB3d
      last edited by

      Hi Folks,

      I have a single WAN and a VPN connection which is setup as OPT1.
      I have a rule sending traffic from certain clients via the VPN by specifying the gateway. That works.

      I have the default rule of LAN* to use the default gateway. This however does not seem to make any difference and traffic still goes via the VPN. (Confirmed rule is hit in the logs).
      If I change the default GW on the rule and force it to use the WAN then all is well.

      To me it then seems that default gateway means nothing and the rules will take any gateway.
      I am sure there is more to it than that but that is how my noob mind is understanding it. Where am I going wrong?

      As always, a picture is worth a thousand words.

      Gateways

      Using default: (Still sending traffic via VPN)

      Force WAN gateway - works as-expected.

      As always, thanks for any help and guidance.

      Fred.

      1 Reply Last reply Reply Quote 0
      • M
        Mr. Jingles
        last edited by

        I had the same kind of problem of everything going through the VPN instead of through the default gateway. For some reason it works now (I probably rebooted inbetween, but I don't recall anymore). So to me too this is still 'to be discovered'.

        6 and a half billion people know that they are stupid, agressive, lower life forms.

        1 Reply Last reply Reply Quote 0
        • F
          FarmerB3d
          last edited by

          Glad I am not alone. I thought I was going mad :)

          1 Reply Last reply Reply Quote 0
          • A
            AIMS-Informatique
            last edited by

            When dealing with Interfaces, you often need to reboot.

            But YES ! Default GW is important. It defines which GW will be used by your default routing table or by the PFsense itself.

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