Force Specific Traffic Over VPN
-
Hi Guys
This is in relation to a thread I started and was resolved over here http://forum.pfsense.org/index.php/topic,58232.0.html
I'm trying to port forward some traffic coming into my WAN out to OpenVPN clients connecting to my PFSense router. The only way I got this working was to force all traffic over the VPN. I was wondering if there is anyway to only force specific traffic to go back over the VPN?
Wasca
-
easiest way todo that would be to assign an interface to the openvpn-connection. (in the interface config set type to "none")
after you assigned an interface you should duplicate the firewall rules from the openvpn connection to the new OPT interface.then restart the openvpn service.
pfsense should automagically create a gateway for the new OPT interface; now you can set that gateway in your lan-firewall rule to direct certain traffic over the openvpn
enjoy