Solved

Port mapping with a PIX

Posted on 2006-11-16
4
228 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
  • 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
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 …
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

809 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