You can enable logging of all IPSec VPN traffic.

1

Log in to the vSphere Web Client.

2

Click Networking & Security and then click NSX Edges.

3

Double-click an NSX Edge.

4

Click the Manage tab and then click the VPN tab.

5

Click IPSec VPN.

6

Click expand next to Logging Policy and click Enable logging to log the traffic flow between the local subnet and peer subnet and select the logging level.

7

Select the log level and click Publish Changes .