diff options
Diffstat (limited to 'ImmaeEu-up')
-rwxr-xr-x | ImmaeEu-up | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -20,8 +20,14 @@ echo -e "MYIPS=\"$MYIPS\"\nGWIP=\"$GWIP\"" > /run/tinc_$NETNAME.vars | |||
20 | ip -6 link set $INTERFACE up mtu 1280 | 20 | ip -6 link set $INTERFACE up mtu 1280 |
21 | for MYIP in $MYIPS; do | 21 | for 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 | ||
25 | done | 28 | done |
26 | ip -6 route add default via $GWIP dev $INTERFACE table 655 | 29 | if false; then |
30 | # Allow accessing the external world from the ip | ||
31 | ip -6 route add default via $GWIP dev $INTERFACE table 655 | ||
32 | fi | ||
27 | (cd "$SCRIPT_DIR" && git pull -q origin master) || true | 33 | (cd "$SCRIPT_DIR" && git pull -q origin master) || true |