Vulnerability & Exploit Database

Back to search

Windows Manage Network Route via Meterpreter Session

This module manages session routing via an existing Meterpreter session. It enables other modules to 'pivot' through a compromised host when connecting to the named NETWORK and SUBMASK. Autoadd will search a session for valid subnets from the routing table and interface list then add routes to them. Default will add a default route so that all TCP/IP traffic not specified in the MSF routing table will be routed through the session when pivoting. See documentation for more 'info -d' and click 'Knowledge Base'

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name



  • todb <todb [at]>
  • Josh Hale <jhale85446 [at]>


  • windows



Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use post/windows/manage/autoroute msf post(autoroute) > sessions ...sessions... msf post(autoroute) > set SESSION <session-id> msf post(autoroute) > show options and set options... msf post(autoroute) > run