summaryrefslogtreecommitdiff
path: root/ImmaeEu-down
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2016-08-16 00:54:54 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2016-08-16 00:54:54 +0200
commit9b100deefff0a0fa8e06fd371102881ee23509c5 (patch)
treee63fed0049d3f847e60cfa6ce81115fbd14ff6fc /ImmaeEu-down
parent338a604b137012c6455679a7b46adc46c793341d (diff)
downloadhosts-9b100deefff0a0fa8e06fd371102881ee23509c5.tar.gz
hosts-9b100deefff0a0fa8e06fd371102881ee23509c5.tar.zst
hosts-9b100deefff0a0fa8e06fd371102881ee23509c5.zip
Android
Diffstat (limited to 'ImmaeEu-down')
-rw-r--r--ImmaeEu-down6
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 @@
4source /sdcard/.tinc/vars 4source /sdcard/.tinc/vars
5rm /sdcard/.tinc/vars 5rm /sdcard/.tinc/vars
6 6
7ip -6 route del default via $GWIP 7ip -6 rule del from all lookup 100
8ip route del table 100 $REMOTEADDRESS
9ip -6 route del table 100 $GWIP dev vpn6
10ip -6 route del table 100 ::/1 via $GWIP dev vpn6
8for MYIP in $MYIPS; do 11for MYIP in $MYIPS; do
9 ip -6 addr del $MYIP/96 dev vpn6 12 ip -6 addr del $MYIP/96 dev vpn6
10done 13done
11ip -6 link set vpn6 down 14ip -6 link set vpn6 down
12 15
16