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
/
tsocks
diff --git a/remote/tsocks
b/remote/tsocks
new file mode 100755
(executable)
index 0000000..
43cb5fa
--- /dev/null
+++ b/
remote/tsocks
@@ -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 "$@"