怎么查找内网IP的端口号

发布时间:2024-05-09 00:19 发布:上海旅游网

问题描述:

内网IP是10.22.103.26,我想查一下哪个接口的IP是它,好设置端口映射开放,SHOW RUN之后是如下状态

router# show run
: Saved
:
PIX Version 6.3(5)
interface ethernet0 auto
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password 9Z5YyZM90lmdtSYW encrypted
passwd 9Z5YyZM90lmdtSYW encrypted
hostname router
fixup protocol dns maximum-length 512
fixup protocol ftp 21
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol http 80
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol sip 5060
fixup protocol sip udp 5060
fixup protocol skinny 2000
fixup protocol smtp 25
fixup protocol sqlnet 1521
fixup protocol tftp 69
names
pager lines 24
mtu outside 1500
mtu inside 1500
ip address outside pppoe setroute
ip address inside 10.22.103.254 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
pdm logging informational 100
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
timeout xlate 0:05:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h225 1:00:00
timeout h323 0:05:00 mgcp 0:05:00 sip 0:30:00 sip_media 0:02:00
timeout sip-disconnect 0:02:00 sip-invite 0:03:00
timeout uauth 0:05:00 absolute
aaa-server TACACS+ protocol tacacs+
aaa-server TACACS+ max-failed-attempts 3
aaa-server TACACS+ deadtime 10
aaa-server RADIUS protocol radius
aaa-server RADIUS max-failed-attempts 3
aaa-server RADIUS deadtime 10
aaa-server LOCAL protocol local
http server enable
http 192.168.1.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
telnet 10.22.103.0 255.255.255.0 inside
telnet timeout 5
ssh timeout 5
console timeout 0
vpdn group pppoe-group request dialout pppoe
vpdn group pppoe-group localname router
vpdn group pppoe-group ppp authentication pap
vpdn username router password *********
dhcpd lease 3600
dhcpd ping_timeout 750
dhcpd auto_config outside
vpnclient server 59.108.38.38
vpnclient mode network-extension-mode
vpnclient vpngroup rotogroup password ********
vpnclient username router password ********
vpnclient enable
terminal width 80
Cryptochecksum:4e8afec37b118be8a453ad5cf4f14cf0
: end
router#

从上面能看出10.22.103.26是哪个端口吗?

问题解答:

用这个命令就可以全看到了 netstat -na

热点新闻