OpenVPN client on separate VLAN



  • Hi, hope somebody can help me, I'm still quite a newby to the whole PFsense thing…..

    I'm trying to setup an OpenVPN client on a specific subnet

    So i currently have PFsense running on an ESXI server that has some virtual subnets on the virtual switches, my main subnet is 10.0.0.0/24.

    What im trying to achieve is anything connected to the subnet of 10.0.20.0/24 to be pushed through the VPN instead of my WAN, i have the Subnet setup to another interface on ESXI and can get internet connection through the WAN fine but i cannot work out how to setup the VPN so it only allows the 10.0.10.0 clients to pass through it.

    I can manage to get PFSense to allow all the traffic from any subnet through the VPN without any issues, I've tried to setup some rules on the firewall and on the outbound NAT..

    I have setup my VPN according to this tutorial https://support.purevpn.com/pfsense-openvpn-configuration-guide

    Can anybody point me in the right direction?

    Thanks
    Steve