-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Using chnroutes
clowwindy edited this page Jan 30, 2015
·
5 revisions
-
Download chnroutes script.
-
Save it to
/etc/shadowvpn/chnroutes.sh
. Thenchmod +x /etc/shadowvpn/chnroutes.sh
-
Create
/etc/hotplug.d/iface/35-chnroutes
#!/bin/sh [ ifup = "$ACTION" ] && { [ wan = "$INTERFACE" ] && { /etc/shadowvpn/chnroutes.sh } }
-
Restart network
/etc/init.d/network restart