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

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

NAT

I need to NAT a address in our PIX, I have a client that needs to get to a server.

The ip address of the inside server is 10.1.2.60

The ip address outside is 206.230.40.60

What are the commands

Thanks

Greg

1 REPLY
New Member

Re: NAT

Greg,

If you want 206.230.40.60 to reach 10.1.2.60, you would have to use apublic IP for 10.1.2.60 . let's use a.b.c.d

static (inside, outside) a.b.c.d 10.1.2.60 netmask 255.255.255.255

access-list acl_outside permit ip host 206.230.40.60 host a.b.c.d

! you can be as restrictive as you want in the above access-list

access-group acl_outside in interface outside

nat (inside) 1 10.1.2.60 255.255.255.255

global (outside) 1 a.b.c.d netmask SUBNET_MASK_OF_a.b.c.d

Hope it works!

87
Views
0
Helpful
1
Replies