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

    VPN and Layer 3 Switch

    Scheduled Pinned Locked Moved Routing and Multi WAN
    2 Posts 2 Posters 287 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.
    • J
      jmwachtel
      last edited by

      I am looking for help with routing a specific VLAN through a VPN, and all other VLANS through the normal WAN connection. I am working on transitioning to use Inter-VLAN routing on the Layer 3 switch. How do I get a specific VLAN to route in/out of the VPN instead of the WAN? Thank you for the help!

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by johnpoz

        First thing is make sure you not pulling routes from your vpn service.

        Doesn't matter if the vlans are directly connected to pfsense or not, still just a simple policy route. Just set your firewall rules for your policies for your downstream vlans on your transit interface that connects to yoru downstream router.

        BTW moved this to routing section, has zero to do with openvpn.. What your asking about is policy routing.

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

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