no ip dhcp use vrf connected
ip dhcp excluded-address 172.24.20.1 172.24.20.99
!
ip dhcp pool LAN
import all
network 172.24.20.0 255.255.255.0
default-router 172.24.20.1
dns-server XXX.XXX.XXX.XXX
!
!
ip name-server XXX.XXX.XXX.XXX
vpdn enable
!
!
username admin password 7 PASSWORD
!
!
!
!
interface FastEthernet0/0
description "WAN_PPPoE"
no ip address
no ip redirects
no ip unreachables
no ip proxy-arp
no ip mroute-cache
duplex auto
speed auto
pppoe enable
pppoe-client dial-pool-number 1
no cdp enable
!
interface FastEthernet0/1
description "Office_LAN"
ip address 172.24.20.1 255.255.255.0
no ip redirects
no ip unreachables
no ip proxy-arp
ip nat inside
no ip mroute-cache
duplex auto
speed auto
!
interface Dialer1
ip address negotiated
ip mtu 1492
ip nat outside
encapsulation ppp
ip tcp adjust-mss 1452
dialer pool 1
dialer-group 1
ppp authentication chap pap callin
ppp chap hostname USERNAME
ppp chap password 7 PASSWORD
ppp pap sent-username USERNAME password 7 PASSWORD
ppp ipcp dns request accept
ppp ipcp address accept
!
ip route 0.0.0.0 0.0.0.0 Dialer1
!
no ip http server
ip nat inside source list WAN_ACCESSLIST interface Dialer1 overload
!
ip access-list extended WAN_ACCESSLIST
permit ip 172.24.20.0 0.0.0.255 any