! ! ip dhcp pool DHCP network 192.168.1.0 255.255.255.0 default-router 192.168.1.254 dns-server 192.168.1.254 ! ! ! ip name-server ***.***.***.*** ip name-server ***.***.***.*** ! ! ! crypto isakmp policy 1 encr 3des authentication pre-share group 2 crypto isakmp key cisco address 0.0.0.0 ! ! crypto ipsec transform-set T_SET esp-3des esp-md5-hmac mode transport ! crypto ipsec profile PROFILE set transform-set T_SET ! ! interface Loopback0 ip address AAA.AAA.AAA.AAA 255.255.255.255 ! interface Tunnel0 ip address 192.168.254.1 255.255.255.0 no ip redirects ip mtu 1368 ip nhrp authentication DMVPN ip nhrp map multicast dynamic ip nhrp network-id 100 ip ospf network broadcast ip ospf priority 105 tunnel source Dialer1 tunnel mode gre multipoint tunnel key 10 tunnel protection ipsec profile PROFILE ! interface GigabitEthernet0/0 no ip address ! interface GigabitEthernet0/1 no ip address ! interface GigabitEthernet0/2 no ip address ! interface GigabitEthernet0/3 no ip address ! interface GigabitEthernet0/4 no ip address ! interface GigabitEthernet0/5 no ip address ! interface GigabitEthernet0/6 no ip address ! interface GigabitEthernet0/7 no ip address ! interface GigabitEthernet0/8 no ip address shutdown duplex auto speed auto ! interface GigabitEthernet0/9 no ip address duplex auto speed auto pppoe enable group global pppoe-client dial-pool-number 1 ! interface Vlan1 ip address 192.168.1.254 255.255.255.0 ip nat inside ip virtual-reassembly in ip tcp adjust-mss 1414 ! interface Dialer1 mtu 1454 ip unnumbered Loopback0 ip nat outside ip virtual-reassembly in encapsulation ppp ip tcp adjust-mss 1414 dialer pool 1 dialer idle-timeout 0 dialer enable-timeout 5 dialer-group 1 ppp authentication chap pap callin ppp chap hostname@******************* ppp chap password 0 ********** no cdp enable ! router ospf 1 network 192.168.1.0 0.0.0.255 area 0 network 192.168.254.0 0.0.0.255 area 0 ! ip forward-protocol nd no ip http server no ip http secure-server ! ! ip dns server ip nat inside source list 1 interface Loopback0 overload ip route 0.0.0.0 0.0.0.0 Dialer1 ! dialer-list 1 protocol ip permit ! ! access-list 1 permit 192.168.1.0 0.0.0.255 ! Router#