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.
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.