Skip to content

Instantly share code, notes, and snippets.

@v-thomp4
Created March 23, 2016 09:57
Show Gist options
  • Save v-thomp4/f32e262b3737fed3f847 to your computer and use it in GitHub Desktop.
Save v-thomp4/f32e262b3737fed3f847 to your computer and use it in GitHub Desktop.
openvpn client
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