How would i be able to pivot into a internal network over the internet (WAN)?
For example: I have a vps with metasploit installed and have a listener running and got a few meterpreter sessions, how would i from there create a route from the victims subnet (192.168.1.1/24) to his Public ip address and from there to my server?
What i have tried so far is i have ran:
run autoroute -s 192.168.1.0/24 -n 255.255.255.0 and then create a socks4a server with metasploit running on port 1080. Then using the command
proxychains4 nmap 192.168.1.0/24 with config: socks4 127.0.0.1 1080 to proxy my scans into his network but didn't have any success so far. Any idea on this?