Port Forwarding
Port Forwarding Using SSH
$ ssh -L 1234:localhost:3306 Ubuntu@10.129.202.64$ netstat -antp | grep 1234
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0 127.0.0.1:1234 0.0.0.0:* LISTEN 4034/ssh
tcp6 0 0 ::1:1234 :::* LISTEN 4034/ssh Forwading Multiple Ports
$ ssh -L 1234:localhost:3306 8080:localhost:80 ubuntu@10.129.202.64Dynamic Port Forwading (SOCKS)
$ ssh -D 9050 ubuntu@10.129.202.64Using NMAP with Proxy Chains
Using msfconsole with Proxy Chains
Using xfreerdp with Proxy Chains
Port Forwarding Using Meterpreter
Ping Sweep
Configuring MSF SOCKS Proxy
Check if Proxy Server is running
proxychains.conf
Creating Routes with auto route
Listing active routes
Testing Proxy and Routing Functionality
Using Meterpreter's portfwd module
Last updated