-
Notifications
You must be signed in to change notification settings - Fork 6
Using chnroutes
Proxy.sh edited this page Feb 21, 2017
·
2 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