08-01-2011 10:56 AM - edited 03-11-2019 02:06 PM
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
Solved! Go to Solution.
08-01-2011 01:25 PM
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
08-02-2011 02:59 PM
Hi...
Jon is correct:
static (inside,outside) tcp OutsidePublic IP 8888 RealPrivateIP 3389 netmask 255.255.255.255
or
static (
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.
08-01-2011 01:25 PM
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
08-02-2011 04:45 AM
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?
08-02-2011 02:59 PM
Hi...
Jon is correct:
static (inside,outside) tcp OutsidePublic IP 8888 RealPrivateIP 3389 netmask 255.255.255.255
or
static (
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.
08-03-2011 03:55 AM
So.... will I never be able to specify the source?
Thanks!
08-03-2011 06:15 AM
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
08-03-2011 06:17 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide