Skip to main content
marito
New Member
Aug 21, 2018 10:01 AM UTC
Question

Rdp via VPN

Hi,

I've an e200 fortinet running version 5.6.2.

In my net there are several windows 2016 servers witch programmers access them via rdp, previously, they open an ssl-vpn connection. In some cases, everythings work fine, but some programers have troubles to open RDP "your credentias didn't work" but they are correct. When I check the event viewer for rdp , there is no register for the fail connection. 

To bypass the issue I opened RDP to the wan, so the programers connects directly using the public ip address (is dangerous, I'm aware).

I guess that there is a mismatch between the rdp client and the vpn.

Any help w'll be appreciate.

Tnx

 

 

    2 replies

    ede_pfau
    SuperUser
    SuperUser
    Aug 21, 2018 10:49 AM UTC

    My advice is to use IPsec VPN, using the same FortiVPN client. No problems whatsoever.

    Translate
    darwin_FTNT
    Staff
    Staff
    Aug 21, 2018 2:46 PM UTC

    On my ipsec-vpn with FGT-111C and FWF-60E, noticed vncviewer got unresponsive once in a while (e.g., no tcp reply from wireshark).

     

    Adding the following setting to each of the FGTs fixed the issue:

     

    config system session-ttl     config port         edit 5900             set protocol 6             set timeout never             set start-port 5900             set end-port 5900         next     end  end

     

    This is due to FGTs maintain security & protocol states for each session (user logged-on, policy id, app id, etc.).  For the vncviewer over ipsec-vpn, there are 2 sessions maintained:  vpn session in UDP, then tunnelled vncviewer session in TCP.  If desktop has screensaver, the vncviewer traffic would become inactive and session may expire and deleted in the FGT.  This result to future tcp traffic disrupted.  Can see session info in 'diag sys session list'.

     

    Translate
    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024