En
Conf t
Hostname Cisco3800
Interface Loopback0
IP address 6.6.6.6 255.255.255.0
Interface fastethernet0/0
Description WAN
IP address 119.200.27.50 255.255.255.252
IP Nat ouside
Interface FASTETHERNET0/1
Description LAN
IP address 192.168.6.1 255.255.255.0
IP nat Inside
IP Route 0.0.0.0 0.0.0.0 113.200.27.49 Telecom Unicom Next hop
IP Route 192.168.3.0 255.255.255.0 192.168.6.2
IP Route 192.168.4.0 255.255.255.0 192.168.6.2
IP nat Pool www 119.200.27.50 119.200.27.55 netmask 255.255.255.252
IP nat inside source list 1 Pool www overload
IP nat inside source static TCP 6.6.6.6 interface gigabitethernet0/0 22
Access-list 1 Permit any
Configuring SSH
AAA New-model
Enable Password cisco123
IP domain-name cisco.com
Crypto key generate RSA
IP SSH time-out 180 login Timeout setting
IP SSH authentication-retries 5 logon Failure retry count 5
IP SSH version 1 settings login SSH login versions
Line vty 0 4
Login Local
Transport input SSH
Transport input Telnet
Transport input All allows all
IP source-route
VPN-L2TP Create
VPDN Enable
Vpdn-group XIAONUO-L2TP
Default L2TP VPDN Group
Accept-dialin
Protocol L2TP
Virtual-template 1
Interface Virtual-template1
IP address 192.168.68.254 255.255.255.0
Peer default IP address pool Xiaonuo-l2tp-user
PPP Authentication CHAP-CHAP
IP Local Pool xiaonuo-l2tp-user 5.5.5.5
Username Han privilege password 0 cisco123
Archive
Log Config
Hidekeys
Port mappings
IP nat inside source static transport protocol intranet IP Port IP ports take Web service map as an example
IP nat inside source static TCP 192.168.3.1 80 119.200.27.50 80
Wr
This article from the "Struggle for the Dream" blog, declined to reprint!
Cisco 3800 Router Configuration instance