The cisco installs the NAT shares the internet access

作者:admin   编辑: 中国网管之家   发布时间:2006-9-13 11:08:51  阅读次数:     发表评论

Building configuration...
Current configuration : 2064 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname cisco
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$IK.E$FUkW8k21/9gVm/kElzrCW.
enable password anndychen
!
no network-clock-participate slot 1
no network-clock-participate wic 0
no aaa new-model
ip subnet-zero
ip cef
!
!
!
no ftp-server write-enable
!
!
!
!
interface FastEthernet0/0
ip address 192.168.1.1 255.255.0.0
ip access-group 101 in
ip nat inside
ip tcp adjust-mss 1450
speed auto
half-duplex
no mop enabled
!
interface FastEthernet0/1
ip address 219.133.80.5 255.255.255.252
ip access-group 101 in
ip nat outside
duplex auto
speed auto
!
ip nat translation timeout 30
ip nat inside source list 1 interface FastEthernet0/1 overload
no ip nat pool c2651 219.133.80.85 219.133.80.5 netmask 255.255.255.252
no ip nat inside source list 2 pool c2651 overload
ip nat inside source static tcp 192.168.1.250 51872 int f0/1 51872
ip nat inside source static tcp 192.168.1.250 7200 int f0/1 7200
ip nat inside source static tcp 192.168.1.250 7100 int f0/1 7100
ip nat inside source static tcp 192.168.1.250 7000 int f0/1 7000
ip nat inside source static tcp 192.168.1.250 7300 int f0/1 7300
ip nat inside source static tcp 192.168.1.250 7400 int f0/1 7400
ip nat inside source static tcp 192.168.1.250 80 int f0/1 80
ip nat inside source static tcp 192.168.1.250 21 int f0/1 21
ip classless
ip route 0.0.0.0 0.0.0.0 219.133.80.6
ip http server
!
access-list 2 permit 192.168.0.0 0.0.255.255
access-list 101 deny tcp any any eq echo
access-list 101 deny tcp any any eq chargen
access-list 101 deny tcp any any eq 135
access-list 101 deny tcp any any eq 136
access-list 101 deny tcp any any eq 137
access-list 101 deny tcp any any eq 138
access-list 101 deny tcp any any eq 139
access-list 101 deny tcp any any eq 389
access-list 101 deny tcp any any eq 445
access-list 101 deny tcp any any eq 4444
access-list 101 deny udp any any eq tftp
access-list 101 deny udp any any eq 135
access-list 101 deny udp any any eq 136
access-list 101 deny udp any any eq netbios-ns
access-list 101 deny udp any any eq 389
access-list 101 deny udp any any eq 445
access-list 101 deny udp any any eq 1434
access-list 101 deny udp any any eq 1433
access-list 101 deny icmp any any
access-list 101 permit ip any any
snmp-server community public RO
snmp-server community cisco2651 RW
snmp-server enable traps tty
!
line con 0
exec-timeout 0 0
line aux 0
line vty 0 4
password anndychen
login
!
!
!
end
cisco#

The cisco installs the NAT shares the internet access
本文地址: http://www.net-web.cn/170.htm
上一篇:政府门户网站建设四大误区        下一篇:3550配置QOS
热门评论
网友评论仅供网友表达个人看法,并不表明网管之家同意其观点或证实其描述


[ Ctrl + Enter]