Cisco ADSL router

The following is a basic configuration for a Cisco 827 connected to an ADSL line. The configuration uses Network Address Translation.

The configuration will need modifying to suit your requirements. You may also wish to add additional filtering to stop inbound access.

version 12.1
no service single-slot-reload-enable
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
no service dhcp
!
hostname scw-gw
!
logging buffered 4096 debugging
logging rate-limit console 10 except errors
enable secret YOURPASSWORD
!
ip subnet-zero
no ip finger
no ip domain-lookup
!
no ip dhcp-client network-discovery
!
interface Ethernet0
ip address YOURIP YOURNETMASK
ip nat inside
!
interface ATM0
no ip address
no atm ilmi-keepalive
pvc 0/38
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
bundle-enable
dsl operating-mode auto
!
interface Dialer0
ip address negotiated
ip nat outside
encapsulation ppp
dialer pool 1
ppp reliable-link
ppp authentication chap callin
ppp chap hostname YOURUSERNAME@altohiway.com
ppp chap password YOURPASSWORD
!
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer0
ip http server
!
ip nat inside source list 1 interface Dialer0 overload
access-list 1 permit YOURNETWORK 0.0.0.255
access-list 10 permit 195.12.1.35
access-list 10 permit YOURNETWORK 0.0.0.255
!
line con 0
transport input none
stopbits 1
line vty 0 4
access-class 10 in
password YOURTELNETPASSWORD
login
!
scheduler max-task-time 5000
end


www.opal.co.uk