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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

1 Public IP mapping to many Private IPs?

Mapping one public IP to many private IPs via different ports is normally supported in some firewalls.

What about Cisco PIX or ASA? Is this possible that we can configure that if somebody hit public IP 83.232.212.98 on port 8000 then take it to 192.168.1.1 and if same public IP got hit on port 9000 then map connect to 192.168.1.2. Is this possible? If yes then please somebody help me.

1 ACCEPTED SOLUTION

Accepted Solutions
Green

Re: 1 Public IP mapping to many Private IPs?

Yes this is possible.

static (inside,outside) tcp 83.232.212.98 8000 192.168.1.1 8000 netmask 255.255.255.255

static (inside,outside) tcp 83.232.212.98 9000 192.168.1.2 9000 netmask 255.255.255.255

2 REPLIES
Green

Re: 1 Public IP mapping to many Private IPs?

Yes this is possible.

static (inside,outside) tcp 83.232.212.98 8000 192.168.1.1 8000 netmask 255.255.255.255

static (inside,outside) tcp 83.232.212.98 9000 192.168.1.2 9000 netmask 255.255.255.255

Re: 1 Public IP mapping to many Private IPs?

In addition to acomiskey static nat the ACL is a must.

access-list outside access_in permit tcp any host 83.232.212.98 eq 8000

access-list outside access_in permit tcp any host 83.232.212.98 eq 9000

access-group outside access_in in interface outside

159
Views
7
Helpful
2
Replies