cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
682
Views
0
Helpful
3
Replies

NAT's problem

pmartiny
Level 1
Level 1

Hi,

I apoligize for my bad english!!

I must do a complex VPN between two pix where I must use NAT. However I have a problem with the NAT. In fact I want to relocate my subnet "10.0.1.0/24" towards a virtual network "20.0.1.0/24" . I will do it with this commands :

Global (outside) 20 20.0.1.0

Nat (inside) 20 access-list 120

with access-list 102 permit ip 10.0.1.0 255.255.255.0 20.0.1.0 255.255.255.0

But the pix don't want this commands because with an access-list, it accept only nat 0

I like to know how I can circumvent this problem

Thank you in advance,

Paul Martiny

3 Replies 3

mcelec
Level 1
Level 1

If you use ¨Global (outside) 20 20.0.1.0¨, it´s not NAT, It´s PAT, instead you can use,

Global (inside) 20 20.0.1.0 255.x.x.x , Then,

Have you tried....

nat (inside) 20 10.x.x.x 255.x.x.x ???

Hope that helps u.

thank you for your advice, but i have already try this, but it doesn't run again.

Thank you anyway

Paul Martiny

mklaphek
Level 1
Level 1

If you want a one-for-one mapping, why not just use a static:

static (inside,outside) 20.0.1.0 10.0.1.0 netmask 255.255.255.0