Ajout : iodined tunnel IP sur DNS.
[lhc/ateliers.git] / remote / iodine-tsocks
diff --git a/remote/iodine-tsocks b/remote/iodine-tsocks
new file mode 100755 (executable)
index 0000000..a289645
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh -eu
+tool=$(readlink -e "${0%/*}/..")
+. "$tool"/remote/lib.sh
+
+TSOCKS_CONF_FILE="$tool"/etc/tsocks/"$local_iodine_ns".conf \
+exec tsocks "$@"