Created
July 15, 2015 17:03
-
-
Save arielvalentin/d2c171cbd59e9132e2fa to your computer and use it in GitHub Desktop.
Route VPN traffic through static route
This file contains 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
mataleon:~ ariel$ ifconfig | |
.... | |
ppp0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1280 | |
inet 192.168.80.8 --> 192.168.20.1 netmask 0xffffff00 | |
mataleon:~ ariel$ sudo /sbin/route add -net 192.168.20.0/16 -interface ppp0 | |
add net 192.168.20.0: gateway ppp0 | |
mataleon:~ ariel$ ssh [email protected] | |
Password: | |
Last login: Wed Jul 15 11:00:53 2015 from 192.168.80.7 | |
uranium:~ 12:56:35 zd$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment