Cisco IOS - Policy Based NAT
Description
This template is for policy based nat. It will not perform nat translation to private IP ranges but will nat to all other destinations. Example
Click here for example data Configuration
interface [[Inside Interface]] ip nat inside interface [[Outside Interface]] ip nat outside ip access-list extended NAT deny ip [[Subnet and Wildcard]] 10.0.0.0 0.255.255.255 deny ip [[Subnet and Wildcard]] 192.168.0.0 0.0.255.255 deny ip [[Subnet and Wildcard]] 172.16.0.0 0.15.255.255 permit ip [[Subnet and Wildcard]] any route-map NAT permit 10 match ip address NAT ip nat inside source route-map NAT interface [[NAT IP Interface]] overload



Inside Interface:
Outside Interface:
Subnet and Wildcard:
NAT IP Interface:


Use this code to post the full script to your own page:



Use this code to post only the variables to your own page: