Simple NAT Configuration for Cisco Router

The following configuration is for a NAT router which plugs into an Ethernet circuit.

The router is set to and running DHCP

hostname CustomerA

ip dhcp pool LOCAL
interface GigabitEthernet0/0
 description WAN 
 ip nat outside
 ip address
 duplex auto
 speed auto

interface GigabitEthernet0/1
description LAN
ip address
ip nat inside
duplex auto
speed auto

access-list 2 permit
access-list 50 permit
ip nat inside source list 2 interface GigabitEthernet0/0 overload


-=[Unauthorized Access Prohibited]=-

line con 0
 exec-timeout 0 0
 password 7 062E0A2D407D1D0AAA
 logging synchronous
line aux 0
line 2
 no activation-character
 no exec
 transport preferred none
 transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
 stopbits 1
line vty 0 4
 access-class 50 in
 password 7 10660C1509240691E0
 logging synchronous
 transport input all