Route all traffic for specific VLAN over OpenVPN Client?



  • Hello,

    I've been trying to figure how to route traffic for a specific VLAN over a OpenVPN provider.

    I currently have PFSense setup as a VM inside ESXi 6.  The WAN interface is connected to the rest of my home network and gets a 192.168.1.1/24 address.

    For PFSense, I have a NIC setup for LAN traffic.  The LAN interface on PFSense is currently setup as a trunk in ESXi.

    Here's the problem I'm having.  I currently have two VLANs setup on the LAN network.  VLAN 0 and VLAN10.  VLAN0 should route all traffic out WAN and onto the rest of my network / the Internet.  VLAN10 should be routing all traffic over the OpenVPN client in PFSense and should not have access to the rest of my home network.

    What I'm currently seeing is this.  I'm either able to get all traffic for VLAN0 to route out the WAN interface or I can route VLAN10 over the OpenVPN as it should.  Never am I able to get both working at the same time.

    I know I'm missing something super stupid so please go easy.  I've only recently really gotten into PFSense so I'm pretty rusty at all things.  I am more than open to resetting PFSense if needed.  I don't care about the current setup.  (Obviously.)

    I have taken a look at the forums and found this post https://forum.pfsense.org/index.php?topic=100576.msg561188#msg561188 but this didn't seem to be really any help.

    Any advice would be amazing.

    Screenshots of current setup: http://imgur.com/a/V6L5h

    Config:

    
    verb 5;
    remote-cert-tls server
    resolv-retry infinite
    persist-key
    persist-tun
    tls-client
    comp-lzo
    reneg-sec 0