Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Quick port question, please please help

Status
Not open for further replies.

ianbla

IS-IT--Management
Oct 31, 2001
156
GB
Can I have an ip address e.g. 111.111.111.111 translated to my internal IP of 222.222.222.222 81.

What I want to do is let people access the website held on port 81 but not have to open their firewall to 81, they should be able to get to it using standard port 80.

I hope somebody can help.

 
I think this is how it works:

access-list inbound permit tcp any host 1.2.3.4 eq 80
static (inside,outside) tcp host 1.2.3.4 80 192.168.1.100 81 netmask 255.255.255.255 0 0

in your case:
access-list inbound permit tcp any host 111.111.111.111 eq 80
static (inside,outside) tcp host 111.111.111.111 80 222.222.222.222 81 netmask 255.255.255.255 0 0

This would take an inbound request on port 80 and map it to a private IP on port 81.

-gbiello
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top