Created
March 23, 2016 09:57
-
-
Save v-thomp4/f32e262b3737fed3f847 to your computer and use it in GitHub Desktop.
openvpn client
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ip rule add from x.x.x.x table 128 | |
ip route add table 128 to y.y.y.y/y dev ethX | |
ip route add table 128 default via z.z.z.z | |
Where x.x.x.x is your Linode's public IP, y.y.y.y/y should be the subnet of your Linode's public IP address, ethX should be your Linode's public Ethernet interface, and z.z.z.z should be the default gateway. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment