All Products
Search
Document Center

VPN Gateway:View connection logs

Last Updated:Mar 06, 2026

This topic describes how to view the logs of an IPsec-VPN connection. You can troubleshoot connection issues based on the logs.

Background information

You can view the logs of an IPsec-VPN connection within the previous 180 days. You can specify a time range of 10 minutes to view the logs generated within the specified time range.

Procedure

  1. Log on to the VPN Gateway console.

  2. In the left navigation pane, choose Interconnections > VPN > IPsec Connections.

  3. In the top navigation bar, select the region of the IPsec-VPN connection.
  4. On the IPsec Connections page, perform the following operations to view logs:

    • IPsec-VPN connection in single-tunnel mode: On the IPsec Connections page, find the IPsec-VPN connection whose logs you want to view, click the 更多 icon in the Actions column, and then select View Logs.

    • IPsec-VPN connection in dual-tunnel mode: On the IPsec Connections page, click the ID of the IPsec-VPN connection whose logs you want to view. On the details page of the IPsec-VPN connection, find the tunnel that you want to view and click View Logs in the Actions column.

      You can view the logs of each tunnel of an IPsec-VPN connection in dual-tunnel mode.

  5. In the IPsec Connection Logs panel, specify a time range to view the logs.