Solved

Port mapping with a PIX

Posted on 2006-11-16
4
230 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 300 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 200 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
Concerto Cloud Services, a provider of fully managed private, public and hybrid cloud solutions, announced today it was named to the 20 Coolest Cloud Infrastructure Vendors Of The 2017 Cloud  (http://www.concertocloud.com/about/in-the-news/2017/02/0…
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…

749 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