

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 故障診斷 AWS Client VPN：因 IP 不相符而終止連線
<a name="server-ip-mismatch"></a>

**問題**  
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](what-is-best-practices.md)。

**解決方案**  
確認 AWS 提供的用戶端與 Client VPN 端點之間沒有 DNS 代理。