summaryrefslogtreecommitdiffstats
path: root/retiolum/scripts/tinc_setup/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'retiolum/scripts/tinc_setup/install.sh')
-rwxr-xr-xretiolum/scripts/tinc_setup/install.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/retiolum/scripts/tinc_setup/install.sh b/retiolum/scripts/tinc_setup/install.sh
index 547cf366..a550a068 100755
--- a/retiolum/scripts/tinc_setup/install.sh
+++ b/retiolum/scripts/tinc_setup/install.sh
@@ -40,6 +40,7 @@ then
if ! $MYBIN/check-free-retiolum-v4 $v4num;then
exit 1
fi
+ myipv4="10.7.7.$v4num"
fi
echo "Subnet = $myipv4" > hosts/$myname
@@ -53,10 +54,11 @@ cp $CURR/tinc-up /etc/tinc/$netname/
cat>tinc.conf<<EOF
Name = $myname
-ConnectTo = supernode
+ConnectTo = EUcancER
ConnectTo = kaah
+ConnectTo = oxberg
ConnectTo = pa_sharepoint
-ConnectTo = EUcancER
+ConnectTo = supernode
Device = /dev/net/tun
EOF