aboutsummaryrefslogtreecommitdiffstats
path: root/config/autotunnel
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2015-04-24 23:51:33 +0200
committerDavid Runge <dave@sleepmap.de>2015-04-24 23:51:33 +0200
commit65552f3d26db9b2bcc0d131ddf69985670436f81 (patch)
treebb44779dab7f4238a2dc2923e56e22243b3abc20 /config/autotunnel
parent86516af3b7aa46e2b3303643acdba463f42ead71 (diff)
downloaduenv-65552f3d26db9b2bcc0d131ddf69985670436f81.tar.gz
uenv-65552f3d26db9b2bcc0d131ddf69985670436f81.tar.bz2
uenv-65552f3d26db9b2bcc0d131ddf69985670436f81.tar.xz
uenv-65552f3d26db9b2bcc0d131ddf69985670436f81.zip
autotunnel: Adding example config, systemd service file and script for autossh managed SSH tunnel to predefined host
Diffstat (limited to 'config/autotunnel')
-rw-r--r--config/autotunnel/example.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/config/autotunnel/example.conf b/config/autotunnel/example.conf
new file mode 100644
index 0000000..3a348b4
--- /dev/null
+++ b/config/autotunnel/example.conf
@@ -0,0 +1,9 @@
+# Configuration file for autotunnel
+
+# Define a host to connect to
+# Must be resolvable or better even set up in /root/.ssh/config
+HOST=<hostname>
+
+# Define a tun device number to use
+# Make sure the same device is not used elsewhere on localhost and the machine to connect to!
+TUN_DEVICE=<a number>