Created on
09-26-2024
12:12 AM
Edited on
08-07-2025
03:01 AM
By
Jean-Philippe_P
| Description | This article describes how RDP sessions are found in local traffic logs initiated by the firewall interface. |
| Scope | FortiGate. |
| Solution |
Setup:
LAB (root) # config vpn ssl web portal
Here, 'user1' is used to log in to SSL VPN web mode.
When the user is connected to the SSL VPN through the browser, the option 'Quick connection' will be visible upon successful authentication to SSL VPN web mode. The logon event will be captured in the VPN event logs.
Upon selecting the quick connection, there will be multiple options to check the connectivity with the server.
Here, the connection was initiated for the server 10.212.3.1 for port 3389.
LAB (root) # get router info routing-table details 10.212.3.1 Routing table for VRF=0 LAB (root) #
config system interface
date=2024-09-24 time=18:07:07 eventtime=1727186827774232733 tz="+0400" logid="0001000014" type="traffic" subtype="local" level="notice" vd="root" srcip=10.212.3.101 srcport=16259 srcintf="Leasedline" srcintfrole="undefined" dstip=10.212.3.1 dstport=3389 dstintf="dmz" dstintfrole="lan" srccountry="Reserved" dstcountry="Reserved" sessionid=160893 proto=6 action="server-rst" policyid=0 service="RDP" trandisp="noop" app="RDP" duration=121 sentbyte=89711 rcvdbyte=1218169 sentpkt=987 rcvdpkt=1574 appcat="unscanned" dstosname="Windows" dstswversion="10 / 2016" masterdstmac="00:6d:65:72:2c:01" dstmac="00:6d:65:72:2c:01" dstserver=0
Since the traffic is generated by the firewall itself, it is expected that the policyid will be 0. The session will be visible in the local traffic logs once it ends and is cleared from the session table.
In SSL VPN web mode, FortiGate functions as a reverse proxy, and the client is not assigned an SSL VPN IP address. When connecting to internal servers, ensure the FortiGate interface IP (used for the connection) is allowed on the server, as the connection originates from the FortiGate, in this case, from the DMZ interface
Note: Starting from FortiOS v7.6.0, the SSL VPN feature is no longer available on FortiGate models with 2 GB RAM.
Related document: |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2026 Fortinet, Inc. All Rights Reserved.