This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

port forwarding RDP (windows remote desktop)

I was wondering if any one has gotten RDP port forwarding to work with windows xp and asl.  I have setup rules to forward the incoming connection to my workstation running xp. I have the snat/dnat rules and packet filter rules setup the same as a different service running on another machine on my lan, yet for some reason, the firewall is dropping packets for rdp?  

In order to port forward, does the machine have to have a static IP address?  i have setup my dhcpd.conf file to assign a static address to my XP machine based on MAC address.  

if i vpn in, and RDP by internal IP no prob, but i cant get thru from externally.

packet filter rules:

any -> rdp(3389) -> xp-workstation -> allow

snat/dnat rules:

source - any
dest   - eth1 (wan interface)
service - RDP(3389)
chnge src - no change
chnge dest - xp-workstation 
serv. chnge - no change

small log file:

TCP Drop: IN=eth1 OUT= MAC=00:50[:D]a:cd:4b:67:00:30:b8:02:29:00:08:00 SRC=66.192.149.66 DST=68.105.82.248 LEN=48 TOS=0x00 PREC=0x00 TTL=114 ID=61213 DF PROTO=TCP SPT=5886 DPT=3389 WINDOW=64240 RES=0x00 SYN URGP=0 
Nov  6 01:20:21 firewall kernel: TCP Drop: IN=eth1 OUT= MAC=00:50[:D]a:cd:4b:67:00:30:b8:02:29:00:08:00 SRC=66.192.149.66 DST=68.105.82.248 LEN=48 TOS=0x00 PREC=0x00 TTL=114 ID=61214 DF PROTO=TCP SPT=5886 DPT=3389 WINDOW=64240 RES=0x00 SYN URGP=0 

if anyone has any ideas... i've tried a bunch...

please let me know.

thanks.


This thread was automatically locked due to age.
  • okay, sorry guys, i figured it out...
    For future reference...anyone who has similar problems, check both the source ports and destination ports when entering in additional services!! like a dummy i left both source and destination ports the same rather than 

    source ports 1024:65535
    dest. ports 3389

    my bad!!
    • i use this same service on xp...however my setup is slightly different

      Instead of forwarding ports on my firewall directly to the machine I instead enabled pptp on the firewall

      Thus first i create a pptp connection (secure connection)back to the local network...then i fire up the remote desktop connection on the remote machine after which I can connect over the now local lan back to the machine you want to admin...works like a charm

      cheers

      asher