Pejman Moghadam / Cisco

Cisco 2610 - Simple NAT/PAT

Public domain


Current configuration : 848 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname 2610
!
enable secret 5 *******************
!
ip subnet-zero
!
!
!
!
!
!
interface FastEthernet0/0
 ip address 192.168.0.1 255.255.255.0 secondary 
 ip address 217.218.224.153 255.255.255.252 
 ip nat inside 
 duplex auto
 speed auto
!
interface Serial0/0
 ip unnumbered FastEthernet0/0
 ip nat outside 
 encapsulation ppp
 no fair-queue
!
ip nat pool nat-out 217.218.224.153 217.218.224.153 netmask 255.255.255.252 
ip nat inside source list 1 pool nat-out overload 
ip nat inside source static tcp 192.168.0.2 22 217.218.224.153 22 extendable 
ip classless
ip route 0.0.0.0 0.0.0.0 Serial0/0 permanent
ip http server
ip pim bidir-enable
!
!
access-list 1 permit 192.168.0.0 0.0.0.255 
!
line con 0
line aux 0
line vty 0 4
 password *********
 login
!
!
end

BY: Pejman Moghadam
TAG: cisco2610, nat
DATE: 2008-02-03 14:00:08


Pejman Moghadam / Cisco [ TXT ]