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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Do I need a second static address for a web server?

Status
Not open for further replies.

ideasworking

Programmer
Dec 2, 2001
120
CA
Hello,

I think I know the answer but I want to be sure. Is it absolutely necessary to have a second static address for an internal web server?

What I would like to do is simply redirect port 80 requests on the PIX to the internal web server 192.168.1.1

Can I do this?

Thanks,
Lou
 
static (inside,outside) tcp interface 80 192.168.1.1 80 netmask 255.255.255.255

access-list External permit tcp any interface eq 80
access-group External in interface outside
 
Yes, you need to "translate" your internal address to an external one. This is because the address you mention is from the private address-range and is not routed or reachable from the Internet. You need to provide a public address, or a second address if you will. Unless you have a public address-range to choose an address from, you need to use the one provided by your "outside" PIX interface.
See above for configuration examples :)

A firm beleiver of the "Keep it Simple" philosophy
Cheers
/T
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top