Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Using NAT on PIX to hide VPN pools on Concentrator behind PIX inside int.

I am wanting to NAT all outgoing VPN traffic to the Internet for our VPN addressing pools, approximately 13 /24s. I would like the PIX outside interface to be what the internet users see if possible. Is this possible, or must I use another IP? Also, would this be the correct syntax for implementation or am I completely off?

ip address outside

ip address inside

static (inside,outside) netmask

route inside 1

New Member

Re: Using NAT on PIX to hide VPN pools on Concentrator behind PI

Just wanted to make a revision to what I posted. From research I think I'm looking at using PAT, rather than NAT. But I don't want to PAT everything to the Internet only specific networks. All the examples I find for PAT use a global statement for the PAT address or interface and this is applied to everything going out. I am now looking at using a free ip in the outside interface network for PAT rather than the outside address. Does anyone have an example on implementing this?


Re: Using NAT on PIX to hide VPN pools on Concentrator behind PI

You appear to have some confusion with your NAT and PAT needs. Your OP has a static command that directly maps all of your internal space to an outside space. This static command statement would typically be found in an environment where there is no nat being used at all - nat 0.....

If you do want/need to use NAT/PAT, look at the nat and global statements. You can set up multiple global pools and have various netblocks number them:

x.x.1.0 is end user pcs. we want to PAT them to one ip

x.x.2.0 is a collection of machines for which we want to use nat

global (outside) 1 x.x.3.1 netmask

global (outside) 2 x.x.3.2-x.x.3.20 netmask

nat (inside) 1 x.x.1.0

nat (inside) 2 x.x.2.0

So, we successfully use PAT(1 global ip) for the x.x.1.0 /24, and NAT (19 ips) for the x.x.2.0 /24.


New Member

Re: Using NAT on PIX to hide VPN pools on Concentrator behind PI

Yes, I was using the wrong statements. We are not running NAT and do use static statements for all networks. Now, we need use PAT for a specific network on our inside going to the outside. I tried implementing PAT by entering the following commands:

no static (inside,outside) x.x.1.0 x.x.1.0 netmask

global (outside) 1 x.x.2.1 netmask

nat (inside) 1 x.x.1.0 0 0

When this was done, people from the x.x.1.0/24 network could not go to the Internet. From what I read, this should have worked. We are running software version 6.2(2). I guess I will search bugs and open a TAC case unless anyone has any more suggestions.

CreatePlease login to create content