---
schema_version: "1"
id: 9fd423bd2a7f6dac055e353a69f209474c6a8a62425943d73f7c85a82b6987de
title: Troubleshoot Anypoint VPN
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/cloudhub/vpn-troubleshooting.md
canonical_url: https://docs.mulesoft.com/cloudhub/vpn-troubleshooting
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 487beca20f3b55820978dd263a47fe0db005200a4ebfc22b6c1514c95e9907e5
description: MuleSoft Documentation Site
latest: true
---
---
product: CloudHub
---

# Troubleshoot Anypoint VPN

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

These are some of the possible errors you may encounter when attempting to connect Anypoint VPN.

## Unable to Connect to the Anypoint VPN

If you are unable to connect to the Anypoint VPN, ensure any firewalls that are configured are
allowing traffic through the IP addresses in the `localExternalIpAddress` field in the VPN tunnels.

## Routes are Not Present in the VPC Route Table

The VPC route table is not updated until the tunnels are active. When using static routing, the
remote networks are added to the route table when the tunnel is active, and removed when the tunnel
is inactive. This is the expected behavior. When using BGP routing, the routes are propagated from
your VPN endpoint when the tunnel is active. If the route table does not show the required entries,
ensure that the BGP session is active and validate the BGP configuration on your device.

## Anypoint VPN Tunnel Connection Works, but Routes are not Propagated

Ensure that the neighbor IP address for the tunnel is taken from the Local point-to-point IP address
in the tunnel’s details.

## Phase 2 SA Established, but Traffic not Passing Through Tunnel

The VPN connection supports only one security association (SA) pair per tunnel, so any more than one
traffic selector per connection will cause unexpected results.

To solve this, ensure that only one unique SA is used per VPN tunnel connection. If more than one
policy is needed, you must consolidate and filter traffic in your network.

## Anypoint VPN Tunnel Disconnects After Period of Inactivity

IPsec is established by sending "interesting traffic" (traffic that should be encrypted over the
Anypoint VPN connection). If there is no interesting traffic, the tunnel disconnects. This is the
expected behavior, and the timeout value might vary.

Some VPN configurations require additional steps to keep the tunnel active, which means you need to
ensure you periodically send interesting traffic. For example, sending ICMP requests every 5 seconds
to a CloudHub worker’s internal IP address or FQDN will keep the tunnel active.

## Tunnel Status in the Runtime Manager UI Shows the Wrong Value

Because the time to retrieve the tunnel status includes the inherent delay in the
infrastructure-provider API, you can expect delays of up to five minutes when reporting the correct
status. Do not use this information to trigger a failover between the tunnels. Instead, monitor
tunnels at the customer-side VPN gateway.

## See Also

- [Anypoint VPN Knowledge Articles](https://help.salesforce.com/s/articleView?id=001117281&type=1)

- [Known Issues](https://help.salesforce.com/s/issues)
