Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ! This is a simple Cisco router configuration template
- ! that provides all of the basic functionality of a
- ! consumer grade router.
- !
- !
- hostname [MYROUTER]
- !
- aaa new-model
- aaa authentication login default local
- aaa authorization exec default local
- !
- ip dhcp excluded-address 192.168.20.1 192.168.20.100
- ip dhcp excluded-address 192.168.20.200 192.168.20.254
- !
- ip dhcp pool LAN
- network 192.168.20.0 255.255.255.0
- default-router 192.168.20.1
- dns-server 8.8.4.4 8.8.8.8
- domain-name [MYDOMAIN]
- !
- username [MYUSERNAME] privilege 15 secret [MYPASSWORD]
- !
- crypto key generate rsa general-keys modulus 1024
- !
- ip ssh version 2
- !
- interface FastEthernet0/0
- description LAN
- ip address 192.168.20.1 255.255.255.0
- ip nat inside
- !
- interface FastEthernet1/0
- description WAN
- ip address dhcp
- ip nat outside
- !
- ip route 0.0.0.0 0.0.0.0 dhcp
- !
- no ip http server
- no ip http secure-server
- !
- ip nat inside source list NAT-INTERNET interface FastEthernet1/0 overload
- !
- ip access-list standard NAT-INTERNET
- permit 192.168.20.0 0.0.0.255
- !
- line con 0
- exec-timeout 15 0
- privilege level 15
- logging synchronous
- login authenticiation default
- !
- line vty 0 4
- exec-timeout 15 0
- privilege level 15
- logging synchronous
- login authenticiation default
- transport input telnet ssh
- !
- line vty 5 15
- exec-timeout 15 0
- privilege level 15
- logging synchronous
- login authenticiation default
- transport input telnet ssh
- !
- ntp source FastEthernet1/0
- ntp server 0.pool.ntp.org prefer
- ntp server 1.pool.ntp.org
- ntp server 2.pool.ntp.org
- !
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement