RDP disconnecting after ~30 secounds

  • Dear All!
    We're using pfsense 2.0.1-release.
    I've troubles with a portforwarding for remotedesktop protocoll
    The forwarding it's self is working corretly, but after a few secounds, I got disconnected from my remote server.
    192.168.100.X is my local network which is connected to the internet through my pfsense firewall.
    I've attached a screenshot of my rules, does any body has an idea what the reason could be?
    ![04-07-2013 11-57-07.png](/public/imported_attachments/1/04-07-2013 11-57-07.png)
    ![04-07-2013 11-57-07.png_thumb](/public/imported_attachments/1/04-07-2013 11-57-07.png_thumb)
    ![04-07-2013 11-55-52.png](/public/imported_attachments/1/04-07-2013 11-55-52.png)
    ![04-07-2013 11-55-52.png_thumb](/public/imported_attachments/1/04-07-2013 11-55-52.png_thumb)

  • Banned

    Are we talking about Windows here? You should forward both TCP and UDP. Recent RDP client versions switch between those too pretty much at will, depending on networking conditions.

  • You're right, I'm talking about MS Remote Desktop Protocoll
    I've tried to use TCP and UDP, but without luck, it still disconnects me after a few secounds.
    If i connect to other Remote Desktop behind other firewalls/routers it works and if i conenct from LAN to my Server it also works, i think there is something wrong/missing in my configuration.
    I had to change outgoing nat to manually cause of other rules, is there probably an outgoing nat rule missing for RDP?

  • Banned

    Probably. It works perfectly fine here with automated NAT rules (tested with W7, W8, 2008R2, 2012 and Debian using Remmina.) There's m0n0wall on the client side and pfSense on the server side.

  • OK - Now I'm seeing those are NAT Rules (its chopped)

    In the first rule, NAT rule seems it should be:

    If   Proto Src. addr Src. ports Dest. addr             Dest. ports         NAT IP             NAT Ports Description
    WAN TCP/UDP *             *         WAN address         62116       3389                RDP

    Which would automatically fix your second firewall rule if I'm understand where you got those from.

    Thats assuming the person who is initiating the RDP session is hitting port 62116 from outside the network through the WAN and you want that to be forwarded to port 3389 on host

    Also, this may be a neither here nor there question.
    Which version of windows is initiating the RDP request and which version is being RDPed into?
    Whats your outgoing NAT rule for  look like?

Log in to reply