I'm trying to forward a port of a "compromised" machine (45.172.xx.xx:9999) to a local port . The localhost (192.168.0.5) is behind NAT(or a VPN,or router) so no incoming connection isn't allowed . But let's say I have a linux meterpreter session to the remote host, so is it possible to make a forwarding through this session?
- Code: Select all
portfwd -l <localport> -r <remote host> -p <remote port>
I made a little picture, for fun and for whom who didn't really understood my english.