Yes. If you connect to your server with "ssh -D 1080 bastion.securecorp.io" it creates a socks5 proxy that listens on your local port 1080. Then you can then use a tool like "proxychains" to forward any TCP port through it. An example would be scanning TCP ports with Nmap through it like so "proxychains nmap -Pn -sT 192.168.1.100".
Thanks for such great explanation and the demonstration as well!
Wonderful, exactly what I wanted
Thank you for this very well descripted video with images, please keep up the gr8 work
Thanks you, Adrian. I appreciate the comment.
Nice video, very clear concepts.
Very nice video, thanks!
thanks for making this
great video m8!
very helpful!
Good video, and by the way, is there a way to forward UDP packet?
Is it pssible to proxy any port (no only http(s))? Or all ports?
Yes. If you connect to your server with "ssh -D 1080 bastion.securecorp.io" it creates a socks5 proxy that listens on your local port 1080. Then you can then use a tool like "proxychains" to forward any TCP port through it. An example would be scanning TCP ports with Nmap through it like so "proxychains nmap -Pn -sT 192.168.1.100".
very good video. OpenSSH is so powerful.. screw VPN for most cases ;)