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

    How to send specific traffic to WAN rather than VPN

    OpenVPN
    2
    2
    253
    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.
    • S
      sunnyg
      last edited by

      Hello Experts,

      Hoping someone will be able to help me out.

      I have setup an OpenVPN with PIA using the following guide https://blog.networkprofile.org/pia-vpn-on-pfsense-2-4-4/ and adapting it, I have all my devices routing through my PIA VPN.

      I now have a need where I have some devices (2 laptops) that need to connect to the internet via the WAN connection and not the VPN connection (these will be connecting to a VPN client that run on the laptops).

      Could I follow the last steps in the same guide (Firewall Rule) but change the gateway to be Default or WAN instead of the VPN?

      regards
      Sunny

      1 Reply Last reply Reply Quote 0
      • V
        viragomann
        last edited by

        Yes, if you have checked "Don't pull routes" like it is shown in the tutorial, just add a firewall rule for that traffic (source = the two laptops) and leave the gateway setting at its default. Place this rule to the top of the rule set, so that it matches first.

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