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

Static with 2 external IP-Adresses wit pix 515?

Status
Not open for further replies.

juppderwal

Technical User
Feb 9, 2005
5
0
0
DE
Hello there,

I suppose this is a very easy question, but I am kind of new at this.
We have a webserver with 2 websites on it. The first we reach with a static translation rule outside-inside and an access roule to port 80.
The second website is behind port 8080. Now we wanted to make a translation rule on the same internal ip-adress from a different external adress. The pix tell us this is not possible. Do we have to make dynamic nat or how can we solve this problem?

Thanks

Martin
 
I take it that you basically have 1 internal address and 2 external addresses............

static (inside, outside) tcp EXTERNAL-IP-1 80 INTERNAL-IP 80
static (inside, outside) tcp EXTERNAL-IP-2 8080 INTERNAL-IP 8080

access-list FROM_OUTSIDE permit tcp any EXTERNAL-IP-1 eq 80
access-list FROM_OUTSIDE permit tcp any EXTERNAL-IP-2 eq 8080

or you could add a secondary ip to your server and have 'em both hit on port 80 if you already have the second external IP Address
static (inside, outside) tcp EXTERNAL-IP-1 80 INTERNAL-IP-1 80
static (inside, outside) tcp EXTERNAL-IP-2 80 INTERNAL-IP-2 8080

access-list FROM_OUTSIDE permit tcp any EXTERNAL-IP-1 eq 80
access-list FROM_OUTSIDE permit tcp any EXTERNAL-IP-2 eq 80

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top