cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2076
Views
0
Helpful
6
Replies

ASA Port Redirect Issue

Tauer Drumond
Level 1
Level 1

Hi all,

I'm trying to redirect a traffic as follow:

HOST A connects at ASA's outside interface at port 8888.

ASA must redirect traffic to host B at port 3389.

Resuming.........HOST A must access port 3389 of HOST B

Is that possible?

See attachment to see the topology and IP addresses. It's simple, but I'm not achieving the goal

Thanks!

Tauer

2 Accepted Solutions

Accepted Solutions

Jon Marshall
Hall of Fame
Hall of Fame

Yes it should be possible. Something like -

static (inside,outside) tcp 100.100.100.100 8888 192.168.1.100 3389 netmask 255.255.255.255

Jon

View solution in original post

Hi...

Jon is correct:

static (inside,outside) tcp OutsidePublic IP 8888 RealPrivateIP 3389 netmask 255.255.255.255

or

static (,) tcp 8888 3389 netmask 255.255.255.255

The static basically says, anything arriving to the OutsidePublicIP on port 8888, redirect it to RealPrivateIP port 3389. Nothing in the static statement cares about the source. Only the destination.

View solution in original post

6 Replies 6

Jon Marshall
Hall of Fame
Hall of Fame

Yes it should be possible. Something like -

static (inside,outside) tcp 100.100.100.100 8888 192.168.1.100 3389 netmask 255.255.255.255

Jon

Hi Jon,

But what happens if a diferent source must connect at same port 8888 and be redirected to a diferent destination port?
I think I must specify the source, have I?

Hi...

Jon is correct:

static (inside,outside) tcp OutsidePublic IP 8888 RealPrivateIP 3389 netmask 255.255.255.255

or

static (,) tcp 8888 3389 netmask 255.255.255.255

The static basically says, anything arriving to the OutsidePublicIP on port 8888, redirect it to RealPrivateIP port 3389. Nothing in the static statement cares about the source. Only the destination.

So.... will I never be able to specify the source?

Thanks!

As far i know you cannot do this because the port used on the public IP must be different.  You can use different port numbers with the public IP and then map these to the same host with different ports. But not the same port on the public IP.

Jon

ok. I got it.

I made a test and worked fine, even not expliciting the source I'll be able to do what I want

Thank you all

Review Cisco Networking for a $25 gift card