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

    Openvpn routing all traffic through vpn regardless of static routes

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 3 Posters 888 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.
    • N
      natew
      last edited by

      I just setup pia openvpn. It is working and routing all traffic through vpn. I want to exempt one ip to use the wan and not vpn. I've made rules to have alias use wan as default gateway but it ignores the rule even though its above the vpn routing rule. Is there something I'm missing here?

      1 Reply Last reply Reply Quote 0
      • R
        Ryu945
        last edited by

        This may be a silly question but are your rules allowing that specific IP to bypass the VPN above the VPN rules?

        1 Reply Last reply Reply Quote 0
        • H
          heper
          last edited by

          openvpn route-nopull will avoid the openvpn-client to force its default route upon pfsense.
          then you can work with gateway(groups) to configure what client must go where.

          the downside is that you'd have to add the necessary routes for the tunnel yourself

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