?
Solved

Port mapping with a PIX

Posted on 2006-11-16
4
Medium Priority
?
234 Views
Last Modified: 2010-04-09
Can I map multiple public IP's to a single private IP with portmapping?

Lets say I have 2 public IP's:

1.1.1.1
1.1.1.2

I have 1 internal server
2.2.2.1 (smtp and http)

Can I do this:

static (inside,outside) tcp 1.1.1.1 smtp 2.2.2.1 smtp netmask 255.255.255.255 0 0
static (inside,outside) tcp 1.1.1.2 http 2.2.2.1 http netmask 255.255.255.255 0 0

Is it ok to do this? Two public IPs are port mapped to one internal IP, but on different ports. The reason I want the IPs to be different is because we will be adding another box which will be the http server. Then I can point one IP at one box, and one IP at the other.

Im pretty sure this is ok, but want to be sure before I make it live. Thank you.
0
Comment
Question by:bfilipek
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 79

Accepted Solution

by:
lrmoore earned 1200 total points
ID: 17961768
Sure. no problem.
As long as you don't try to map 2 public IP's to the same port, or 1 public ip/port to 2 different internal systems then you're OK..
One of the benefits of the PIX...
0
 
LVL 28

Assisted Solution

by:batry_boy
batry_boy earned 800 total points
ID: 17963503
'Tis true...the way you have the static statements is correct...
0
 

Author Comment

by:bfilipek
ID: 17965106
Thanks guys.
0
 
LVL 28

Expert Comment

by:batry_boy
ID: 17966730
The order of your parameters in the static statements is correct.  One thing I just noticed, however, is that "http" in the 2nd static needs to be entered as "www" or just "80".
0

Featured Post

Need protection from advanced malware attacks?

Look no further than WatchGuard's Total Security Suite, providing defense in depth against today's most headlining attacks like Petya 2.0 and WannaCry. Keep your organization out of the news with protection from known and unknown threats.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
When speed and performance are vital to revenue, companies must have complete confidence in their cloud environment.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…
Suggested Courses
Course of the Month12 days, 18 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question