Force LAN Traffic Through OpenVPN Tunnel
jlittle988 last edited by
The title gives the basics, but for more detail: I have a pfsense VM with two physical interfaces, one connected to my local network (and assigned an IP by my local DHCP server), and the other connected to a virtualbox host-only network, with a few other VMs on it. With default settings, the VMs can access the internet.
However, I would like to force any and all traffic through an openvpn tunnel. I've tried several things, but the closest I've gotten is having it working for a moment, then suddenly the vpn gateway's dynamic ip in pfSense started getting consistently set to an address one below that of the vpn virtual IP. Does anyone know why that would be happening? If not, do you know of a better way of achieving this? Thanks!
acc4ever last edited by
@jlittle988 Hi, I have done this configuration, following this tutorial..
what makes the magic is put this in Advanced Configuration -> Advanced -> redirect-gateway def1;