From 0cbec4bf35abb49abd80db4db1023c61c9d05185 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 2 Oct 2013 21:45:50 +0200 Subject: [PATCH] add default config, key for turingmachine --- .gitignore | 1 + hosts/turingmachine | 10 ++++++++++ tinc-down | 2 ++ tinc-up | 5 +++++ tinc.conf | 2 +- 5 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 .gitignore create mode 100644 hosts/turingmachine create mode 100644 tinc-down create mode 100644 tinc-up diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..10d02d6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +rsa_key.priv diff --git a/hosts/turingmachine b/hosts/turingmachine new file mode 100644 index 0000000..4dd0f2c --- /dev/null +++ b/hosts/turingmachine @@ -0,0 +1,10 @@ +subnet = 10.42.1.10/32 + +-----BEGIN RSA PUBLIC KEY----- +MIIBCgKCAQEAy0FDfPKzs6ZTgPcF1700MrDwyGkxH6o04DbNVeUz0jSanDN6Oe64 +OSMjntPSvwQhZTHh+6lYYNr7j3Z4zqfQh26/OrE/+ZvINRS5ciZL7J01SzoPYl0O +K2KyWaXm2zbmzlzitJirJGJV5B5kOC8SV6IEsQvIonj/j6F3aizi9GtbsaZvbxTQ +nFIcV1+rQNa26gnn4Y42A1cugfGRGeERB9RBKiNuAarIul1CZPsMfzwKKKcs4bxl +qS6jIv6ObfPH20eWXuQ7k6aBb0vhTy4nwY8m2x0O3BY4Kl55Eh95Cn7derGNg6FP +9Xza8icpP+yrgerG9pyJQosZy4Nh0wzrDQIDAQAB +-----END RSA PUBLIC KEY----- diff --git a/tinc-down b/tinc-down new file mode 100644 index 0000000..77b397c --- /dev/null +++ b/tinc-down @@ -0,0 +1,2 @@ +#!/bin/sh +ifconfig $INTERFACE down diff --git a/tinc-up b/tinc-up new file mode 100644 index 0000000..e30daff --- /dev/null +++ b/tinc-up @@ -0,0 +1,5 @@ +#!/bin/sh +echo "add your ip to this file!" +exit 1 +ifconfig $INTERFACE 10.42.1.10 netmask 255.255.255.255 +route add -net 10.42.0.0 netmask 255.255.0.0 dev $INTERFACE diff --git a/tinc.conf b/tinc.conf index a5b9b0f..195cbb5 100644 --- a/tinc.conf +++ b/tinc.conf @@ -1,4 +1,4 @@ -name = +name = Compression = 9 ConnectTo = devkid ConnectTo = higgsboson.tk