Solved

Cisco ASA 5510 - Can I port forward the same port to different internal IP's using different URLs?

Posted on 2011-09-28
14
1,040 Views
Last Modified: 2012-05-12
I have a Cisco ASA 5510 and only one public IP address.  Does anyone know if it is possible to port forward 3389 to different IP addresses using different URL's?

Example:

remote.domain.com  = port 3389  - 10.1.1.100
remote2.domain.com = port 3389 - 10.1.1.200
0
Comment
Question by:SihleIns
  • 6
  • 4
  • 4
14 Comments
 
LVL 35

Accepted Solution

by:
Ernie Beek earned 250 total points
ID: 36717479
Nope, just one port (3389) per static.
You could forward another outside port to a 3389 on the inside though.
0
 

Author Comment

by:SihleIns
ID: 36717496
How do you assign multiple IP addresses to one physical connection with an ASA 5510?
0
 
LVL 33

Assisted Solution

by:MikeKane
MikeKane earned 250 total points
ID: 36717649
What ernie meant was that you can have different ports on the outside forward to specific ports on the inside.  

So port 3389 would forward to HostA on 3389
port 3390 would forward to HostB on 3389
port 3391 would forward to Host C on 3389
and so on.  

The NATs would look like this:
static (inside,outside) tcp interface 3389 <hostA ip> 3389 netmask 255.255.255.255
static (inside,outside) tcp interface 3390 <hostB ip> 3389 netmask 255.255.255.255
static (inside,outside) tcp interface 3391 <hostC ip> 3389 netmask 255.255.255.255

Then, allow the traffic with an ACL

access-list outside_in extended permit tcp any interface eq 3389
access-list outside_in extended permit tcp any interface eq 3390
access-list outside_in extended permit tcp any interface eq 3391

access-group outside_in in interface outside
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 35

Expert Comment

by:Ernie Beek
ID: 36717701
Thx Mike, it's always kind of a hassle to type a load of text on a mobile screen (even a 4.3 one :)
0
 
LVL 33

Expert Comment

by:MikeKane
ID: 36717805
No sweat, ernie.    
0
 

Author Comment

by:SihleIns
ID: 36717820
Ok thanks I understand that, but what if I wanted to have multiple IP's so I can use the same port for two different internal IP addresses.  Is that possible with one physical connection or would I need two different interfaces so I can configure ACL and NAT rules individually?
0
 
LVL 35

Expert Comment

by:Ernie Beek
ID: 36717874
No, just interface will do. If you have a range of publics you can create statics for the other addresses (asa shown by Mike) as well.
0
 
LVL 35

Expert Comment

by:Ernie Beek
ID: 36717889
make that: just ONE interface........

Like I said, typing on a mobile :-~
0
 
LVL 33

Expert Comment

by:MikeKane
ID: 36717903
Well, if your ISP assigned you a block of IPs, then you can do this.    Can your ISP give you more than 1 IP?  

With multiple IPs you have the option of doing a 1 to 1 nat instead of a port forward (essentially forwards everything).  

The NATs would look like this:
static (inside,outside) outside_ip_1 <hostA ip> netmask 255.255.255.255
static (inside,outside) outside_ip_2 <hostB ip> netmask 255.255.255.255

Then, allow the traffic with an ACL

access-list outside_in extended permit tcp any outside_ip_3 eq 3389
access-list outside_in extended permit tcp any outside_ip_2 eq 3389

access-group outside_in in interface outside
0
 
LVL 33

Expert Comment

by:MikeKane
ID: 36717908
Wow - for typing on a moblie, you're fast...
0
 
LVL 35

Expert Comment

by:Ernie Beek
ID: 36718298
Wait till I'm on my tablet :))

0
 
LVL 35

Expert Comment

by:Ernie Beek
ID: 36718343
@SihleIns: almost forgot my manners, Thx for the points :)
0
 

Author Comment

by:SihleIns
ID: 36720215
When I try adding the Static NAT rule from say 3390 to 3389 I get an error because 3389 is already being forward to another internal IP address.  

This is the actual error:  This operation will modify the Static NAT Rule.  The Modified Static NAT Rule cannot be configured, as if overlaps with the following exisiting rules.

Any suggestions?
0
 

Author Comment

by:SihleIns
ID: 36720229
Nevermind.  I figured it out I am using the ASDM to configure this rule and I need to specific 3389 as the original port and not the translated port.  Thanks again for the help!
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

When I upgraded my ASA 8.2 to 8.3, I realized that my nonat statement was failing!   The log showed the following error:     %ASA-5-305013: Asymmetric NAT rules matched for forward and reverse flows It was caused by the config upgrade, because t…
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
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…
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…

820 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