思科2811路由器端口映射,如果要将80端口映射到192.168.0.88号机子的80端口,在特权模式下如何设置?要详 5
Currentconfiguration:830bytes!version12.4servicetimestampsdebugdatetimemsecservicetim...
Current configuration : 830 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
resource policy
!
ip subnet-zero
!
!
ip cef
!
!
!
!
!
!
interface FastEthernet0/0
ip address 221.131.44.150 255.255.255.252
ip nat outside
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.0.1 255.255.255.0
ip nat inside
duplex auto
speed auto
!
ip classless
ip route 0.0.0.0 0.0.0.0 221.131.44.149
!
ip http server
ip nat pool test 221.131.44.150 221.131.44.150 netmask 255.255.255.252
ip nat inside source list 10 pool test overload
!
access-list 10 permit any
!
control-plane
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
login
!
scheduler allocate 20000 1000
!
end 展开
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
resource policy
!
ip subnet-zero
!
!
ip cef
!
!
!
!
!
!
interface FastEthernet0/0
ip address 221.131.44.150 255.255.255.252
ip nat outside
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.0.1 255.255.255.0
ip nat inside
duplex auto
speed auto
!
ip classless
ip route 0.0.0.0 0.0.0.0 221.131.44.149
!
ip http server
ip nat pool test 221.131.44.150 221.131.44.150 netmask 255.255.255.252
ip nat inside source list 10 pool test overload
!
access-list 10 permit any
!
control-plane
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
login
!
scheduler allocate 20000 1000
!
end 展开
2个回答
展开全部
思科2811路由器端口映射如何设置
你需要把外网10.0.0.1的3389端口映射到内网192.168.1.2的3389端口。这样来进行操作 ip nat inside source static tcp 221.131.44.150 80 192.168.0.88 80。
其次是Router(config)#ip nat inside source static tcp192.168.1.2 33891 10.0.0.1 3389 extendable。其中192.168.1.2是要映射的内网地址。第一个3389就是内网端口。而 10.0.0.1就是外网的IP。那么第二个3389就是外网的端口。
思科2811路由器常见问题指令:Access-enable允许路由器在动态访问列表中创建临时访问的列表入口。Access-group把访问的控制列表应用到了接口上。Access-list 定义一个标准的IP ACL。Access-template 在连接的路由器上手动替换临时访问列表入口
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询