summaryrefslogtreecommitdiffstats
path: root/retiolum
diff options
context:
space:
mode:
authorlassulus <lassulus@googlemail.com>2012-01-24 21:43:27 +0100
committerlassulus <lassulus@googlemail.com>2012-01-24 21:43:27 +0100
commitafb451db4d97cf89a723943ca269d52b4ca44819 (patch)
tree215e58feb93546972ab0fd9ced3fa09d57f7c3fe /retiolum
parent088447447b7ec58937c3c61484ff7022a7d0bc48 (diff)
compression
Diffstat (limited to 'retiolum')
-rw-r--r--retiolum/hosts/Lassulus1
-rw-r--r--retiolum/hosts/alphalabs1
-rwxr-xr-xretiolum/scripts/routing/defaultroute.sh2
3 files changed, 3 insertions, 1 deletions
diff --git a/retiolum/hosts/Lassulus b/retiolum/hosts/Lassulus
index be9782b1..98bd01e0 100644
--- a/retiolum/hosts/Lassulus
+++ b/retiolum/hosts/Lassulus
@@ -1,5 +1,6 @@
Subnet = 42:0:0:0:0:0:0:dea7/128
Subnet = 10.243.0.2/32
+Compression = 9
-----BEGIN RSA PUBLIC KEY-----
MIIBCgKCAQEAsj1PCibKOfF68gmFQ+wwyfhUWpqKqpznrJX1dZ+daae7l7nBHvsE
H0QwkiMmk3aZy1beq3quM6gX13aT+/wMfWnLyuvT11T5C9JEf/IS91STpM2BRN+R
diff --git a/retiolum/hosts/alphalabs b/retiolum/hosts/alphalabs
index 63c4391c..e7265e67 100644
--- a/retiolum/hosts/alphalabs
+++ b/retiolum/hosts/alphalabs
@@ -1,6 +1,7 @@
Address = 10.9.0.10
Subnet = 42:0:0:0:0:0:0:a1fa/128
Subnet = 10.243.0.10/32
+Compression = 9
-----BEGIN RSA PUBLIC KEY-----
MIIBCgKCAQEAvUAbMmmOFn+4kOvJAvmi0R/XCQa1YBlkjUvC6Pmt0Q8gV1DodXjB
DgwP8yhLcxaVy2Hk82aJvNTUrfMeB2sdt1RJHQiEPQkHthdp8Spm0Px4uTiMjmFB
diff --git a/retiolum/scripts/routing/defaultroute.sh b/retiolum/scripts/routing/defaultroute.sh
index f5a1a465..d54e8bcf 100755
--- a/retiolum/scripts/routing/defaultroute.sh
+++ b/retiolum/scripts/routing/defaultroute.sh
@@ -34,5 +34,5 @@ cat $tincdir/tinc.conf | grep ConnectTo | cut -b 13- |
while read host
do
addr=$(cat $tincdir/hosts/$host | grep Address | cut -b 11-)
- echo route $command $addr gw $defaultroute
+ route $command $addr gw $defaultroute && echo $command $addr via $defaultroute
done