2014-06-24 11:59:39 +02:00
|
|
|
#!/bin/sh
|
|
|
|
ip route replace 0.0.0.0/1 via $4 table 42
|
|
|
|
ip route replace 128.0.0.0/1 via $4 table 42
|
2014-08-19 11:18:38 +02:00
|
|
|
|
|
|
|
ip rule del priority 30000
|
|
|
|
ip rule add priority 30000 from $4 table 42
|
|
|
|
|
|
|
|
ip route flush cache
|
|
|
|
|
2014-06-24 11:59:39 +02:00
|
|
|
/etc/openvpn/update-dnsmasq-forward
|
|
|
|
exit 0
|