Need to nat the following IP's to internal addresses

i have XXX.XXX.XXX.XXX that needs to map to 10.0.9.11 on port 3389.  this needs to be done with 10 different ip's on the outside and 10 internal IP's - respectively.  i.e 10.0.9.12 to 20

thanks in advance!


johnkesoglouAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

batry_boyCommented:
Here are the commands:

static (inside,outside) tcp xxx.xxx.xxx.1 3389 10.0.9.11 3389 netmask 255.255.255.255
static (inside,outside) tcp xxx.xxx.xxx.2 3389 10.0.9.12 3389 netmask 255.255.255.255
static (inside,outside) tcp xxx.xxx.xxx.3 3389 10.0.9.13 3389 netmask 255.255.255.255
static (inside,outside) tcp xxx.xxx.xxx.4 3389 10.0.9.14 3389 netmask 255.255.255.255
static (inside,outside) tcp xxx.xxx.xxx.5 3389 10.0.9.15 3389 netmask 255.255.255.255
static (inside,outside) tcp xxx.xxx.xxx.6 3389 10.0.9.16 3389 netmask 255.255.255.255
static (inside,outside) tcp xxx.xxx.xxx.7 3389 10.0.9.17 3389 netmask 255.255.255.255
static (inside,outside) tcp xxx.xxx.xxx.8 3389 10.0.9.18 3389 netmask 255.255.255.255
static (inside,outside) tcp xxx.xxx.xxx.9 3389 10.0.9.19 3389 netmask 255.255.255.255
static (inside,outside) tcp xxx.xxx.xxx.10 3389 10.0.9.20 3389 netmask 255.255.255.255

Those static commands above will perform port redirection for  port TCP 3389 for outside IP's xxx.xxx.xxx.1 - xxx.xxx.xxx.10 mapped to 10.0.9.11 - 10.0.9.20 on the inside.  You will then need to add ACL statements to allow that traffic inbound.  Here are the commands to do that:

access-list outside_access_in permit tcp any host xxx.xxx.xxx.1 eq 3389
access-list outside_access_in permit tcp any host xxx.xxx.xxx.2 eq 3389
access-list outside_access_in permit tcp any host xxx.xxx.xxx.3 eq 3389
access-list outside_access_in permit tcp any host xxx.xxx.xxx.4 eq 3389
access-list outside_access_in permit tcp any host xxx.xxx.xxx.5 eq 3389
access-list outside_access_in permit tcp any host xxx.xxx.xxx.6 eq 3389
access-list outside_access_in permit tcp any host xxx.xxx.xxx.7 eq 3389
access-list outside_access_in permit tcp any host xxx.xxx.xxx.8 eq 3389
access-list outside_access_in permit tcp any host xxx.xxx.xxx.9 eq 3389
access-list outside_access_in permit tcp any host xxx.xxx.xxx.10 eq 3389
access-group outside_access_in in interface outside

That should do it...hope this helps...
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
johnkesoglouAuthor Commented:
That worked!  been racking my brains all day.  thank u!
0
batry_boyCommented:
Glad to assist...
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Cisco

From novice to tech pro — start learning today.