Hot answers tagged

2

You're writing the Netmask wrong. Netmask depends upon the private IP ranges you use, hence if your private ip range is 192.168.1.1-254 then netmask should be 255.255.255.0 Updated route configuration : route foo.bar 255.255.255.0 {your-default-gateway} route 1.2.3.4 255.255.255.0 {your-default-gateway} To find out what your default gateway IP address ...


2

It's the same thing, you can basically just rename the .ovpnfile into .confand move it into /etc/openvpn


1

Your "clear" unencrypted traffic goes to tun0, where openvpn encapsulates and encrypts it, and sends it out of eth0 to the remote gateway, where it is decrypted. So if you block eth0, then you will prevent the encrypted packets being sent to the remote gateway. tun0 provides a routing path. If you sent your packets directly out of eth0, then they would ...


1

Take a look here: http://askubuntu.com/questions/612840/adding-route-on-client-using-openvpn D) Bonus option! openvpn also has a up /down directive that allows you to launch a script on connect to vpn this can allow you to do anything you want really. setting dns, routes etc. But it requires you to store the commands in another file. So if you had ...



Only top voted, non community-wiki answers of a minimum length are eligible