dépôts
/
lhc
/
ateliers.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
remote/iodine-tsocks
@@ -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 "$@"