# Add a route
meterpreter> run autoroute -h
# Specify the subnet
meterpreter> run autoroute -s <IP address/cidr>
# Print the routes
route print
run post/multi/manage/autoroute
route print
# Scan open ports
use auxiliary/scanner/portscan/tcp
set RHOSTS 10.0.2.0/24
set PORTS 1-100
run