当连接到VPN(我已经使用OpenVPN和TunnelBear VPN服务)nmap停止工作。 Ping,NC和其他networking工具,但是Nmap不工作。
当不运行vpn时,我得到:
$ sudo nmap 8.8.8.8 Starting Nmap 5.51 ( http://nmap.org ) at 2011-12-07 15:38 CST Nmap scan report for google-public-dns-a.google.com (8.8.8.8) Host is up (0.082s latency). Not shown: 998 filtered ports PORT STATE SERVICE 53/tcp open domain 113/tcp closed auth
在运行vpn时,我得到以下内容:
$ sudo nmap 8.8.8.8 Starting Nmap 5.51 ( http://nmap.org ) at 2011-12-07 15:08 CST Note: Host seems down. If it is really up, but blocking our ping probes, try -Pn Nmap done: 1 IP address (0 hosts up) scanned in 3.07 seconds
这就像nmap失去了交通。 做tcpdump捕获显示,stream量正在回到箱子。
任何mac osx,OpenVPN或nmap的专家有一个想法?
我正在使用最新的macintosh nmap …
尝试将nmap -e选项添加到命令行以指定要使用的接口。 例如,如果tun0是VPN接口,那么执行:
% nmap -e tun0 (plus whatever options) target_IPs