diff options
Diffstat (limited to 'ImmaeEu-down')
-rw-r--r-- | ImmaeEu-down | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ImmaeEu-down b/ImmaeEu-down index 657b83f..8a0ef22 100644 --- a/ImmaeEu-down +++ b/ImmaeEu-down | |||
@@ -4,9 +4,13 @@ | |||
4 | source /sdcard/.tinc/vars | 4 | source /sdcard/.tinc/vars |
5 | rm /sdcard/.tinc/vars | 5 | rm /sdcard/.tinc/vars |
6 | 6 | ||
7 | ip -6 route del default via $GWIP | 7 | ip -6 rule del from all lookup 100 |
8 | ip route del table 100 $REMOTEADDRESS | ||
9 | ip -6 route del table 100 $GWIP dev vpn6 | ||
10 | ip -6 route del table 100 ::/1 via $GWIP dev vpn6 | ||
8 | for MYIP in $MYIPS; do | 11 | for MYIP in $MYIPS; do |
9 | ip -6 addr del $MYIP/96 dev vpn6 | 12 | ip -6 addr del $MYIP/96 dev vpn6 |
10 | done | 13 | done |
11 | ip -6 link set vpn6 down | 14 | ip -6 link set vpn6 down |
12 | 15 | ||
16 | |||