Solved

Port mapping with a PIX

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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
NSD FAIL 2 97
BGP Code 12 42
Cisco ASA version 8.2 NAT to version 9 NAT 3 29
Palo Alto Networks: View Tunnel packet counts? 2 10
Overview The Cisco PIX 501, PIX 506e, ASA 5505 and ASA 5510 (most if not all of this information will be relevant to the PIX 515e but I do not have a working configuration handy to verify the validity) are primarily used within small to medium busi…
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.
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…

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now