LAN users access the Internet through ddnleased lines

Source: Internet
Author: User

Service timestamps debug uptime
Service timestamps log uptime
Service password-encryption
No service tcp-small-servers
No service udp-small-servers
!
Hostname <name of your vro>
!
Enable password <password used to enter privileged mode>
!
No ip name-server
!
Ip subnet-zero
No ip domain-lookup
Ip routing
!
Interface Ethernet 0
No shutdown
Description connected to EthernetLAN
Ip address <Ethernet port ip address and subnet mask>
Ip nat inside
Keepalive 10
!
Interface Serial 0
No shutdown
Description connected to Internet
Ip address <wide area network port ip address and subnet mask>
Ip nat outside
Encapsulation hdlc
!
! Access Control List 1
!
No access-list 1
Access-list 1 permit <Intranet CIDR block address and subnet mask anti-code>
!
! Dynamic NAT
!
Ip nat translation timeout 86400
Ip nat translation tcp-timeout 86400
Ip nat translation udp-timeout 300
Ip nat translation dns-timeout 60
Ip nat translation finrst-timeout 60
Ip nat pool <external address pool Name> <external address pool range> netmask <external Address Mask>
Ip nat inside source list 1 pool <external address pool Name> overload
!
Router rip
Version 2
Network <Intranet CIDR block address>
Passive-interface Serial 0
No auto-summary
!
!
Ip classless
!
! IP Static Routes
Ip route 0.0.0.0 0.0.0.0 Serial 0
No ip http server
Snmp-server community public RO
No snmp-server location
No snmp-server contact
!
Line console 0
Exec-timeout 0 0
Password <password required for logging on from the Console port to user mode>
Login
!
Line vty 0 4
Password
Login
!
End

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.