SSH
Local port forwarding
ssh -L 1234:localhost:3306 Ubuntu@10.129.202.64Confirming Port Forward with Netstat
netstat -antp | grep 1234Dynamic port forwarding
ssh -D 1080 ubuntu@10.129.202.64Nmap
proxychains nmap -v -Pn -sT 172.16.5.19Setting up remote/reverse port forwarding through SSH
Payload - listener sent to InteralIPofPivotHost:8080
SSH remote port forward - InteralIPofPivotHost:8080 --> 8000
Local listener on port 0.0.0.0:8000
Last updated