summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGDR! <gdr@gdr.name>2016-05-05 19:50:05 +0200
committerGDR! <gdr@gdr.name>2016-05-05 19:50:05 +0200
commitc17be222aa46a4cf1a9d19c0ae767697ad585fd3 (patch)
treefb0f2d28760f6c3d2d914cead6ece7236eb844a5
parent4f38371fd72ba889e39805b76a1a2402194b5398 (diff)
ProxyCommand explained
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index 4fd5adc..4ffbe24 100644
--- a/README.md
+++ b/README.md
@@ -52,6 +52,10 @@ Magic, port 2222 on your localhost is now the SSH server on the machine which ru
52 52
53The -L switch works (almost) the same way it does in SSH. For the uninitiated, -L A:B:C means "forward port C on ip B to port A on localhost". Unlike SSH, you can't use hostnames for B (unless you link the binary dynamically). 53The -L switch works (almost) the same way it does in SSH. For the uninitiated, -L A:B:C means "forward port C on ip B to port A on localhost". Unlike SSH, you can't use hostnames for B (unless you link the binary dynamically).
54 54
55Alternatively, SSH ProxyCommand mode works too:
56
57 ssh -o ProxyCommand='./tuntox -i <ToxID> -P localhost:22' gdr@localhost
58
55Fun stuff: [VPN over Tox](VPN.md) 59Fun stuff: [VPN over Tox](VPN.md)
56 60
57## Security / threat model 61## Security / threat model