User Tools

Site Tools


networking:cisco-1841-config-nat

This is an old revision of the document!


ADSL 1841 NAT config

Almost nothing yet

DNS server

configure terminal
 ip dns server
 ip domain lookup
 ip name-server 1.1.1.1
 ip host printer.int.domain.com 192.168.1.41
end
Current configuration : 3678 bytes
!
! Last configuration change at 20:35:55 BST Tue May 12 2026
! NVRAM config last updated at 12:24:03 BST Mon Apr 20 2026
! NVRAM config last updated at 12:24:03 BST Mon Apr 20 2026
version 15.1
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname 1841-isp
!
boot-start-marker
boot system flash:c1841-advipservicesk9-mz.151-4.M6.bin
boot-end-marker
!
!
logging buffered 51200 warnings
enable secret 5 $T0P_Secret
!
no aaa new-model
!
clock timezone GMT 0 0
clock summer-time BST recurring 4 Sun Mar 1:00 4 Sun Oct 2:00
dot11 syslog
ip source-route
!
!
ip dhcp excluded-address 192.168.58.1 192.168.58.100
!
ip dhcp pool lan
 network 192.168.58.0 255.255.255.0
 default-router 192.168.58.1 
 dns-server 1.1.1.1 
 domain-name rainsbrook.co.uk
!
!
!
ip cef
ip domain list rainsbrook.co.uk
ip domain name rainsbrook.co.uk
ip name-server 1.1.1.1
ipv6 source-route
ipv6 unicast-routing
ipv6 cef
ipv6 multicast-routing
!
multilink bundle-name authenticated
!
crypto pki token default removal timeout 0
!
!
!
!
license udi pid CISCO1841 sn FCZ14096XXX
username admin password 7 not_quite_so_secret
!
redundancy
!
!
ip ssh time-out 60
! 
!
interface FastEthernet0/0
 description LAN
 ip address 192.168.123.1 255.255.255.0
 ip nat inside
 ip virtual-reassembly in
 duplex auto
 speed auto
!
interface FastEthernet0/1
 description WAN to ISP
 no ip address
 duplex auto
 speed auto
 pppoe enable group global
 pppoe-client dial-pool-number 1
!
interface Dialer0
 description WAN link to ISP
 ip address negotiated
 ip nat outside
 ip virtual-reassembly in
 encapsulation ppp
 dialer pool 1
 dialer idle-timeout 0
 dialer persistent
 dialer-group 1
 ipv6 enable
 ipv6 traffic-filter adsl-ipv6 in
 ppp chap hostname user1234@a.1
 ppp chap password 7 1234abcd1234abcd
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
ip dns server
ip dns spoofing
ip nat inside source list 1 interface Dialer0 overload
ip route 0.0.0.0 0.0.0.0 Dialer0
!
ip access-list standard snmpv4
 permit 123.123.123.123

!
access-list 1 permit 192.168.123.0 0.0.0.255
access-list 22 permit 234.234.234.234 log
access-list 22 deny   any log
dialer-list 1 protocol ip permit
ipv6 route ::/0 Dialer0
!
!
!
!
snmp-server community xxxx RO 22
snmp-server community secret123 RO snmpv4
snmp-server ifindex persist
snmp-server location 50 TLS
snmp-server contact goaway@rainsbrook.co.uk
!
!
control-plane
!
!
banner exec ^CC
Session established to $(hostname) on line $(line)^C
banner login ^CC
+-------------------------------------------------------+
|             This is a private system and              |
|      is only for the use of authorized personnel.     |
|                                                       |
+-------------------------------------------------------+
|                                                       |
|  If you are allowed access, you will have been told.  |
|    If you have to ask anyone if you are authorized,   |
|                                                       |
|                   -*YOU AREN'T*-                      |
|                                                       |
+-------------------------------------------------------+



^C
banner motd ^CCx^C
!
line con 0
 password 7 12341234abcd
 login
line aux 0
line vty 0 4
 access-class 22 in
 password 7 12341234abcd
 login
 transport input all
!
scheduler allocate 20000 1000
ntp server 216.239.35.0
ntp server 1.1.1.1
ntp server 216.239.35.4
end

1841-isp#                                                          

This page has been accessed for:-
Today: 1
Yesterday: 0
Until now: 12

networking/cisco-1841-config-nat.1778885488.txt.gz · Last modified: by andrew

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki