summaryrefslogtreecommitdiffstats
path: root/retiolum/scripts
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2011-12-26 23:45:43 +0100
committermakefu <github@syntax-fehler.de>2011-12-26 23:45:43 +0100
commitb3c427c89a49cd8b9391d1dc4d0360dd06554c57 (patch)
treed3dc92321f0967694ff95ae77bed2b91b27f9cee /retiolum/scripts
parent2d45f657f2e89f30f09807a834a4b07596479733 (diff)
//retiolum/tinc_setup: now using 10.243.x.x namespace'
Diffstat (limited to 'retiolum/scripts')
-rwxr-xr-xretiolum/scripts/tinc_setup/install.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/retiolum/scripts/tinc_setup/install.sh b/retiolum/scripts/tinc_setup/install.sh
index 1cd7c81d..a6b50b8a 100755
--- a/retiolum/scripts/tinc_setup/install.sh
+++ b/retiolum/scripts/tinc_setup/install.sh
@@ -39,7 +39,7 @@ then
# myipv4=$(echo 42.$(for i in `seq 1 3`; do echo "ibase=16;`bin/fillxx xx|tr [a-f] [A-F]`" | bc; done)|tr \ .)/32
myipv4="${2:-}"
- mynet4=42.0.0.0
+ mynet4=10.243.0.0
if [ ! "$myipv4" ]
then
@@ -50,7 +50,7 @@ then
printf 'select unused v4 subnet ip (1-255): '
read v4num
done
- myipv4="42.0.0.$v4num"
+ myipv4="10.243.0.$v4num"
fi
echo "Subnet = $myipv4" > hosts/$myname
@@ -62,8 +62,7 @@ fi
cat>tinc.conf<<EOF
Name = $myname
-ConnectTo = EUcancER
-ConnectTo = kaah
+ConnectTo = euer
ConnectTo = oxberg
ConnectTo = pa_sharepoint
ConnectTo = supernode