diff --git a/ncat/docs/ncatguide.xml b/ncat/docs/ncatguide.xml index 6a576e9c6..4cca7dbc1 100644 --- a/ncat/docs/ncatguide.xml +++ b/ncat/docs/ncatguide.xml @@ -1582,6 +1582,30 @@ host1$ ncat --send-only host2 < log.txt connecting it to host with Ncat. + + + If your SSH server administrator did not disable tunneling (which is + enabled in most default configurations), you can use the proxy server + built into SSH. Use the following command to spawn a proxy server on + TCP port 8080 of your local machine that tunnels the traffic through + the SSH connection: + + + +ssh router -D 8080 + + + + Now you can make connections inside the network using Ncat's proxy client + capabilities. For example, to connect to host with IP address + 192.168.1.123 that is behind the router, you can use the following + command if you spawned the tunnel: + + + +ncat --proxy localhost:8080 --proxy-type socks4 192.168.1.123 + +