Tuesday, February 10, 2015

OpenVPN TUN Interface Force Traffic

To force all client traffic over the tunnel in OpenVPN when using TUN not TAP, please add the following to your server config file:

push "redirect-gateway def1"
push "remote-gateway VPN-Server-IP"
push "dhcp-option DNS 4.2.2.2" 



This will also force internet traffic over the vpn.

No comments:

Post a Comment

Thanks for your input.

PiKVM to NVR

  Trying to connect to your IP Camera Network Video Recorder (NVR) via your PiKVM and it’s not working? No video from the NVR on...