排查 AWS Client VPN 问题:由于 IP 不匹配导致连接终止 - AWS Client VPN

排查 AWS Client VPN 问题:由于 IP 不匹配导致连接终止

问题

VPN 连接终止并且客户端软件返回以下错误:"The VPN connection is being terminated due to a discrepancy between the IP address of the connected server and the expected VPN server IP. Please contact your network administrator for assistance in resolving this issue."

原因

AWS 提供的客户端要求它连接到的 IP 地址与支持 Client VPN 端点的 VPN 服务器的 IP 相匹配。有关更多信息,请参阅 使用 AWS Client VPN 的规则和最佳实践

解决方案

确认 AWS 提供的客户端和 Client VPN 端点之间没有 DNS 代理。