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

    OpenVPN for 1 Vlan, WAN for all others.

    Scheduled Pinned Locked Moved OpenVPN
    2 Posts 1 Posters 182 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.
    • Y
      yodapfsense
      last edited by

      I know there are several posts and a few YouTube videos on this but I just can't get this working correctly. I swear I'm doing it right(or at least I tried a combination that should have worked)

      As configured now. The WAN works with NAT for all Vlans but my IOT-Camera.

      I can flip that to make only the Camera Vlan work by unchecking "Do Not Pull Routes" in the OVPN Client Config. But obviously I want both to work. All VLANS to WAN except CAMERA-VLAN.

      Right now config with ExpressVPN but I have Vyper as well and I get the same result.

      Here are snaps of my config.

      OpenVPN Setup and Online
      OpenVPN-Status.png

      Gateway Configured.
      Gateways.png

      FW NAT Rules - Using Manual now, but I've tried hybrid as well.
      FW-Rules.png

      FW Rules for Camera Vlan point to VPN as the Gateway.
      Camera Rules.png

      FW Rule for ExpressVPN - I have tried any to any here just to see and it doesn't help.
      EvpnRules.png

      Any help appreciated.

      Thanks

      1 Reply Last reply Reply Quote 0
      • Y
        yodapfsense
        last edited by

        I fixed on my own. I am not sure why but the default "Camera Subnets" was somehow not correct. I created a new Alias with the Camera Subnet defined properly, then applied it to the Firewall Rule and the Nat Rule for the Camera Subnet section, and it worked.

        I also added the kill switch with tagging which is defined in this video. Which for anyone having trouble, this was the best thing I found in all my searching.

        https://forums.lawrencesystems.com/t/how-to-setup-pfsense-openvpn-policy-routing-with-kill-switch-using-a-privacy-vpn-youtube-release/12441

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