diff options
Diffstat (limited to 'ImmaeEu-up')
-rwxr-xr-x | ImmaeEu-up | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -18,9 +18,9 @@ rm -f /run/tinc_$NETNAME.vars | |||
18 | echo -e "MYIPS=\"$MYIPS\"\nGWIP=\"$GWIP\"" > /run/tinc_$NETNAME.vars | 18 | echo -e "MYIPS=\"$MYIPS\"\nGWIP=\"$GWIP\"" > /run/tinc_$NETNAME.vars |
19 | ip -6 link set $INTERFACE up mtu 1280 | 19 | ip -6 link set $INTERFACE up mtu 1280 |
20 | for MYIP in $MYIPS; do | 20 | for MYIP in $MYIPS; do |
21 | ip -6 addr add $MYIP/80 dev $INTERFACE | 21 | ip -6 addr add $MYIP/96 dev $INTERFACE |
22 | ip -6 rule add from $MYIP/80 table 655 | 22 | ip -6 rule add from $MYIP/96 table 655 |
23 | ip -6 rule add to $MYIP/80 table 655 | 23 | ip -6 rule add to $MYIP/96 table 655 |
24 | done | 24 | done |
25 | ip -6 route add default via $GWIP dev $INTERFACE table 655 | 25 | ip -6 route add default via $GWIP dev $INTERFACE table 655 |
26 | (cd /etc/tinc/$NETNAME/hosts && git pull -q origin master) || true | 26 | (cd /etc/tinc/$NETNAME/hosts && git pull -q origin master) || true |