cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
421
Views
0
Helpful
4
Replies

NAT config for Remote Access To PC over the Internet

mahesh18
Level 6
Level 6

 

Hi Everyone,

I need to config NAT to allow one of our Vendors PC to remote desktop to PC in our  Network.

Here  is step up

 

Vendor PC--------Firewall1 ------Internet --------Firewall2 -------PC(192.168.50.10)

This connection is over the Internet.

Our PC has IP 192.168.50.10 it is behind the Firewall 2.

Firewall2 is doing the NAT.

Firewall2 is doing PAT overload and all the Internal IP addresses are translated to single public IP say 200.x.x.x

Firewall2 has version 8.2.

Vendor PC is using Port 5222 to remote desktop to PC 192.168.50.10.

Need help on NAT config so that Vendor PC say remote desktop to Public IP 200.x.x.x and it gets translated to 192.168.50.10 on Firewall2?

 

Regards

Mahesh

 

 

2 Accepted Solutions

Accepted Solutions

You need a static translation for that port:

static (inside,outside) tcp 200.x.x.x 5222 192.168.50.10 5222 netmask 255.255.255.255

And that traffic needs to be allowed on the outside ACL:

access-list NAME-OF-ACL ext permit tcp REMOTE-IP host 200.x.x.x eq 5222

More on that in this config-example:

http://www.cisco.com/c/en/us/support/docs/security/pix-500-series-security-appliances/63872-pix70-asa-portredir.html#t10

More on NAT in general is in the config-guide:

http://www.cisco.com/c/en/us/td/docs/security/asa/asa82/configuration/guide/config/nat_overview.html

View solution in original post

nkarthikeyan
Level 7
Level 7

Hi,

 

You want to translate with 5222 as it is to reach your RDP PC or vendor will try with port 5222 and you wanna that to translate it to 3389....

 

if so your NAT should be like this

static (inside,outside) tcp 200.x.x.x 5222 192.168.50.10 3389 netmask 255.255.255.255

If you are using same port at both cases, then karsten's command will do....

 

make sure your acl is updated at any cases.

 

Regards

Karthik

 

View solution in original post

4 Replies 4

Hi Mahesh ,

        What is your ASA code version ?? . Share me your Firewall 2 config . 

 

HTH

Sandy

 

You need a static translation for that port:

static (inside,outside) tcp 200.x.x.x 5222 192.168.50.10 5222 netmask 255.255.255.255

And that traffic needs to be allowed on the outside ACL:

access-list NAME-OF-ACL ext permit tcp REMOTE-IP host 200.x.x.x eq 5222

More on that in this config-example:

http://www.cisco.com/c/en/us/support/docs/security/pix-500-series-security-appliances/63872-pix70-asa-portredir.html#t10

More on NAT in general is in the config-guide:

http://www.cisco.com/c/en/us/td/docs/security/asa/asa82/configuration/guide/config/nat_overview.html

 

Thanks for helping me out.

Regards

MAhesh

nkarthikeyan
Level 7
Level 7

Hi,

 

You want to translate with 5222 as it is to reach your RDP PC or vendor will try with port 5222 and you wanna that to translate it to 3389....

 

if so your NAT should be like this

static (inside,outside) tcp 200.x.x.x 5222 192.168.50.10 3389 netmask 255.255.255.255

If you are using same port at both cases, then karsten's command will do....

 

make sure your acl is updated at any cases.

 

Regards

Karthik

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card