If you have a VPN access to a network and a few routes are defined on that you have access to, you can ping the machines on those specific routes but nothing else, how ever, if you run masscan with -e and use the interface the VPN is connected on, you can find other machines and open ports on them, same goes with Nmap scan where you define the interface to use, it will find same open ports and ping those machines, if you use simple ping command, you cannot reach the other machines on that network/subnet or even a different subnet, but if you use -I and interface of VPN, you can ping all the machines nmap and massscan found.
I tried to add those routes but as I am using a commerical VPN to connect, I cannot add routes on the client side, my machine, tried using iptables to manipulate but no that did not work as well. Is there a way to overcome such a restriction or tool to be able to connect to those machines that nmap and massscan are finding or the open ports?
I tried to add those routes but as I am using a commerical VPN to connect, I cannot add routes on the client side, my machine, tried using iptables to manipulate but no that did not work as well. Is there a way to overcome such a restriction or tool to be able to connect to those machines that nmap and massscan are finding or the open ports?