SSH: Tunnel & Proxy Cheat Sheet

SSH port forward to a local portssh -N -i <ssh-keyfile> -f [email protected] -L *:18085:localhost:8085 -n /bin/bash
Reverse port forward to remote serverssh -R *:40099:localhost:22 [email protected]ssh -p 40099 [email protected]
Setup ssh tunnel for your web browsingsshuttle -r [email protected] 30.0.0.0/16 192.168.111.0/24 192.168.150.0/24 192.167.0.0/24

Leave a Reply

Your email address will not be published. Required fields are marked *