cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
397
Views
5
Helpful
3
Replies

Policy Nat

ciscosom
Level 1
Level 1

I am wondering if below configuration is possible , Supposing hostA is behind pixA firewall wants to communicate to HostB behind Pix B , source IP (192.168.1.2) should be Natted to 172.16.1.2 ,however if it needs to connect to internet it can go as (192.168.1.2).This should be true on Host B also ,Is it possible to accomplish by policy Nat and without having to use static command .

Any help will be greatly appreciated

3 Replies 3

ciscosom
Level 1
Level 1

Let me know if this is possible

(192.168.1.2) should be Natted to 172.16.1.2

This should work.. Try this on A...

access-list pnat extended permit ip host 192.168.1.2 host 192.168.2.2

static (inside,outside) 172.16.1.1 access-list pnat

nat (inside) 1 192.168.1.0 255.255.255.0

global (outside) 1 interface

This is all assuming that you have the routing setup correctly to route the 172.16.1.0/24 addresses.

Thanks a ton , this is what i was looking for .

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card