πŸ•³οΈ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 username@192.168.1.111 -L 5000:192.168.1.222:5000

Remote Tunnel

ssh -R 8080:localhost:80 public.example.com

Last updated