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