Technical Tip: Understanding active Session list on FortiProxy device
| Description | This article describes the active session verification and difference in FortiGate and FortiProxy session output. |
| Scope | FortiProxy. |
| Solution | The session list on the FortiProxy has 2 types of information.
The following commands can be used to see the session list:
diagnose sys session list diagnose wad session list
The first command output shows the TCP session to and from the FortiProxy interface.
diagnose sys session list ipv4 tcp 1787 ESTABLISHED 10.162.13.127:63576 -> 10.162.19.160:8080
In the above image, Port3 is the interface listening for proxy connections on Port 8080 and Port1 is the WAN interface for routing the traffic on the internet.
In the output above, no correlation logs can be found in the GUI log section.
The following is the second command output:
diagnose wad session list Session: explicit proxy 10.162.13.127:63576(10.5.147.160:19530)->142.251.173.188:5228
This output will show the proxy connections forwarded through FortiProxy based on the CONNECT request from the user systems. Proxy connection output can only be seen if the connection was successful to the server requested in the client CONNECT request. However, the first command may still show the output from client to the FortiProxy interface.
The second list can be verified and matched against the GUI correlation logs based on session ID value:
In the GUI logs above, the session ID of 50335043 can be seen and matched with the WAD session output. |


