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

    New gateway causes all traffic to be rerouted

    Scheduled Pinned Locked Moved Routing and Multi WAN
    gatewayvpnrouting
    2 Posts 2 Posters 691 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.
    • H
      HybridX
      last edited by

      I've added an OpenVPN client connection to route only specific traffic from LAN1 through this VPN. Note that I still want other traffic from this LAN to be routed over my ISP's connection. pfSense automatically created a gateway for this VPN, and I added the necessary allow outbound rule to specific URLs via the VPN gateway. So far everything seems to work fine.

      Note that I have several other LANs for IPTV, guests, etc. Lets call these LAN2 and LAN3

      I've also marked my ISP connection as the default gateway under System/Routing/Gateways, as I still want regular traffic to be routed through my ISP's connection.

      Now, somehow, I'm running into internet connection problems on LAN2 and LAN3. It seems that, even though I've set the default gateway, traffic from these LANs is being routed through the VPN, which is not supposed to happen.

      I have the idea that pfSense is routing traffic through the newest gateway that has been created instead of the default gateway, but perhaps I'm misunderstanding the way pfSense handles gateways.

      Any idea what is happening here?

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

        Make sure you have the Don't pull routes option checked in your OpenVPN Client configuration:
        pfSense_Dont_pull_routes.png

        -Rico

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