Claudio4's wiki

Search IconIcon to open search

SSH Port Forwading

Last updated

Local

Exposes a port accessible by the remote machine through a port in the local machine

1
  ssh -L localport:remotehost:remoteport user@host

Remote (or reverse)

Exposes a port accessible by the local machine through a port in the remote machine

1
  ssh -R remoteport:lhost:localport user@host

Dynamic

Creates a SOCKS proxy that sends all traffic through the remote host.

1
  ssh -D port user@host

The flag -C can be used to allow compression, useful for text transfer, not so useful for binary data.


Interactive Graph