SSH (reverse tunnel)
Last updated
Last updated
$ ssh -R <listen_port> <remote_host> [-p <port>]$ ssh -R 8888 1.1.1.2 -N$ cat /etc/proxychains4.conf
...
socks5 127.0.0.1 8888
# eg. perform nmap scan through the pivot (acting as proxy)
$ proxychains4 -f /etc/proxychains4.conf nmap -sT 2.2.2.3