Sunday, 7 July 2013

Cisco Router NAT


Dynamic NAT
1. Create access-list describing inside host
2. Configure outside pool
3. Map inside to outside
     (config)#ip nat inside source list 50 pool outside pool_name
4. Mark Interfaces
    (config-if)#ip nat inside or ip nat outside


Dynamic NAT Overloading
1. Create access-list describing inside host
2. Configure outside pool
3. Map inside to outside
    (config)#ip nat inside source list 40 interface f0/1 overload
4. Mark Interfaces
    (config-if)#ip nat inside or ip nat outside

Static NAT
      (config)#ip nat inside source static tcp 192.168.1.10 3389 interface f0/1 3389

Verification
show ip nat translation
show run
debug ip nat

For IP phone or other special service
(config)#ip nat service skinny tcp port 2001 



No comments:

Post a Comment