π³οΈTunnelling
SSH Port Forward
Local Tunnel
# Example
ssh -L 8080:www.facebook.com:80 localhost
# Authenticated
ssh username@<remote-machine> -L localport:target-ip:target-port
ssh [email protected] -L 5000:192.168.1.222:5000
Remote Tunnel
ssh -R 8080:localhost:80 public.example.com
Last updated