We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Download chnroutes script.
Save it to /etc/shadowvpn/chnroutes.sh. Then
/etc/shadowvpn/chnroutes.sh
chmod +x /etc/shadowvpn/chnroutes.sh
Create /etc/hotplug.d/iface/35-chnroutes
/etc/hotplug.d/iface/35-chnroutes
#!/bin/sh [ ifup = "$ACTION" ] && { [ wan = "$INTERFACE" ] && { /etc/shadowvpn/chnroutes.sh } }
Restart network
/etc/init.d/network restart