]> gitweb.pimeys.fr Git - scripts-20-100.git/commitdiff
L'autre bout du tunnel
authorVincent Le Gallic <legallic@crans.org>
Sun, 20 Oct 2013 22:45:55 +0000 (00:45 +0200)
committerVincent Le Gallic <legallic@crans.org>
Sun, 20 Oct 2013 22:45:55 +0000 (00:45 +0200)
cf 458e879c656919ba76405951b1c1a3b1f84e7122

tunnel_setup.sh [new file with mode: 0755]

diff --git a/tunnel_setup.sh b/tunnel_setup.sh
new file mode 100755 (executable)
index 0000000..66f22d5
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+# Script executé côté campus pour établir le tunnel
+
+# on allume l'interface créée par la commande ssh
+ip l set tap10 up
+ip a add 10.3.0.1/24 dev tap10