Generic NAT configuration Cisco Forum FAQGeneric NAT configuration (#8119) | ||
| This configuration was worked up on a cisco 831 with 12.2(13)ZH2 software but should work on any cisco router with a modern version of IOS, just adjust the interfaces accordingly. ! version 12.2 no service pad service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname Router ! logging queue-limit 100 ! ip subnet-zero ip dhcp excluded-address 192.168.4.1 192.168.4.10 ! ip dhcp pool LOCALPOOL import all network 192.168.4.0 255.255.255.0 default-router 192.168.4.1 ! ! ip audit notify log ip audit po max-events 100 no ftp-server write-enable ! ! ! ! ! ! ! interface Ethernet0 description Inside private interface ip address 192.168.4.1 255.255.255.0 ip nat inside hold-queue 100 out ! interface Ethernet1 description Outside public interface ip address dhcp ip nat outside duplex auto ! ip nat inside source list 1 interface Ethernet1 overload ip classless ip http server no ip http secure-server ! access-list 1 permit 192.168.4.0 0.0.0.255 ! line con 0 no modem enable stopbits 1 line aux 0 stopbits 1 line vty 0 4 login ! scheduler max-task-time 5000 ! end by PA23 edited by aryoba | ||