demo_bob
Asterisk上的 SIP 呼叫demo_alice
没有声音,因此我打开了 NetGear WNR1000v2-N150 无线路由器:
# Service Type Port IP
1 IP_Phone 6670-6670 192.168.1.254-192.168.1.254
2 sip 5060-5061 192.168.1.2-192.168.1.99
解决方案。已修复。
然而,本地主机上的端口:
thufir@mordor:~$
thufir@mordor:~$ nmap localhost
Starting Nmap 6.47 ( http://nmap.org ) at 2016-06-29 23:44 PDT
Nmap scan report for localhost (127.0.0.1)
Host is up (0.00034s latency).
Not shown: 992 closed ports
PORT STATE SERVICE
22/tcp open ssh
25/tcp open smtp
80/tcp open http
110/tcp open pop3
119/tcp open nntp
631/tcp open ipp
2000/tcp open cisco-sccp
3306/tcp open mysql
Nmap done: 1 IP address (1 host up) scanned in 0.06 seconds
thufir@mordor:~$
路由器上的端口:
thufir@mordor:~$
thufir@mordor:~$ nmap 192.168.1.1
Starting Nmap 6.47 ( http://nmap.org ) at 2016-06-29 23:44 PDT
Nmap scan report for 192.168.1.1
Host is up (0.0085s latency).
Not shown: 995 closed ports
PORT STATE SERVICE
23/tcp open telnet
53/tcp open domain
80/tcp open http
3333/tcp open dec-notes
5555/tcp open freeciv
Nmap done: 1 IP address (1 host up) scanned in 0.15 seconds
thufir@mordor:~$
- 为什么 nmap 不显示我打开的路由器上的端口?
- 我可以让 nmap 具体且正确地显示这些端口为打开吗?
- nmap 是错误的工具吗?