summaryrefslogtreecommitdiff
path: root/ImmaeEu-up
diff options
context:
space:
mode:
Diffstat (limited to 'ImmaeEu-up')
-rwxr-xr-xImmaeEu-up12
1 files changed, 9 insertions, 3 deletions
diff --git a/ImmaeEu-up b/ImmaeEu-up
index 006b86f..072bce1 100755
--- a/ImmaeEu-up
+++ b/ImmaeEu-up
@@ -20,8 +20,14 @@ echo -e "MYIPS=\"$MYIPS\"\nGWIP=\"$GWIP\"" > /run/tinc_$NETNAME.vars
20ip -6 link set $INTERFACE up mtu 1280 20ip -6 link set $INTERFACE up mtu 1280
21for MYIP in $MYIPS; do 21for MYIP in $MYIPS; do
22 ip -6 addr add $MYIP/96 dev $INTERFACE 22 ip -6 addr add $MYIP/96 dev $INTERFACE
23 ip -6 rule add from $MYIP/96 table 655 23 if false; then
24 ip -6 rule add to $MYIP/96 table 655 24 # Allow accessing the external world from the ip
25 ip -6 rule add from $MYIP/96 table 655
26 ip -6 rule add to $MYIP/96 table 655
27 fi
25done 28done
26ip -6 route add default via $GWIP dev $INTERFACE table 655 29if false; then
30 # Allow accessing the external world from the ip
31 ip -6 route add default via $GWIP dev $INTERFACE table 655
32fi
27(cd "$SCRIPT_DIR" && git pull -q origin master) || true 33(cd "$SCRIPT_DIR" && git pull -q origin master) || true