Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Pix 501 Port Redirection with outside Dyn IP

Hi,

I have a Pix 501 with dynamic IP address on the outside interface. I have a host inside which I need to access from the outside using RDP. I have already created an access list to permit tcp 3339 in.I am using DynDNS to know my current IP address.

My inside host IP address is 192.168.150.10. Can someone tell me how to create a static route using the port? Do I need any alias?

Thanks

8 REPLIES

Re: Pix 501 Port Redirection with outside Dyn IP

Since your PIX outside interface obtained its IP dynamically, you can try this:

access-list outside permit tcp any interface outside eq 3389

access-list outside deny ip any any

static (inside,outside) tcp interface 3389 192.168.150.10 3389 netmask 255.255.255.255

access-group outside in interface outside

Use 'show access-list outside' command to verify whether your ACL is working. You should see some hitcount. Also, check the connection status to the 192.168.150.10 using 'sh conn | i 3389'

HTH

AK

New Member

Re: Pix 501 Port Redirection with outside Dyn IP

Thanks for your reply.

I could connect only once, when I configured it.

I did some troubleshooting the pix is forwarding the request to a different host. Why?

Cisco Employee

Re: Pix 501 Port Redirection with outside Dyn IP

How is the server getting an IP Address, Is this dynamic. If so, has the IP Address of server changed after you had configured port redirection on the Pix 501.

Can you make sure that the server still owns the 192.168.150.10 IP Address.

I hope it helps.

Regards,

Arul

New Member

Re: Pix 501 Port Redirection with outside Dyn IP

Hi,

The server has an static IP and it has not been changed. At this moment I am using the pix from the outside (ssh) and I am trying to RDP into my server and I get TCT reques discarded from x.x.x.x to outside x.x.x.x/3389.

It looks like is doing the request but it is not permited. The access list has not hint. I reapplied the access-group but not success.

Any ideas?

Cisco Employee

Re: Pix 501 Port Redirection with outside Dyn IP

Is your static(inside, outside) configured the way A.Kiprawih had posted in his earlier e mail.

Based upon the logs, the PIX discards the packet because it thinks it is destined

to itself and the PIX does not listen for packets on TCP/3389; therefore it does not know what to do with that packet that was destined to it and discards it.

If you have Port Redirection configured, then this should not be the case.

I hope it helps.

Regards,

Arul

New Member

Re: Pix 501 Port Redirection with outside Dyn IP

The configuration is exactly as the one posted above.

As I said before, when I have another computer connected to the network the packets are destined for that other host getting the exact same error but with different IP address.

Any suggestions or troubleshooting stesp I could do?

Thanks

New Member

Re: Pix 501 Port Redirection with outside Dyn IP

I am not sure, but you maybe have to clear your xlate table when that ip adresse have been changed. I am not sure if the pix notices that the ip adresse are changed dynamic and times out that entery. It wold time out if you changed it manually. You could try by clearing that entery in the xlate table and connect again...

NorAlarm(config)# sh xlate

43 in use, 851 most used

PAT Global 213.145.xxx.xxx(3389) Local 10.0.2.241(3389)

clear xlate global xx.xx.xx.xx local xx.xx.xx.xx

Jens

New Member

Re: Pix 501 Port Redirection with outside Dyn IP

Thank you to all of you for your interest on resolving my problem. I deleted all the access list as well as static and reconfigured them again and everything started working.

I can now access my host from the outside.

317
Views
5
Helpful
8
Replies
CreatePlease login to create content