PIVOTING
Tool: Metasploit - AUTOROUTE Module
Target: Metasploitable VM
1. Use it
use post/multi/manage/autoroute

2. Set subnet of the target network
set subnet [subnet]

3. Set Session id.
set session [id]

4. exploit
exploit

Then you can exploit Metasplotable VM now.

For more information about Pivoting, please refer to:
https://www.offensive-security.com/metasploit-unleashed/pivoting/
Ethical Hacking - POST EXPLOITATION(4)
原文:https://www.cnblogs.com/keepmoving1113/p/12272946.html