

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# AWS Client VPN 适用于Linux
<a name="client-vpn-connect-linux"></a>

这些部分介绍安装所 AWS 提供的 Linux 客户端，然后使用 AWS 提供的客户端建立 VPN 连接。 AWS 提供的 Linux 客户端不支持自动更新。有关最新更新和下载内容，请参阅[AWS Client VPN 适用于 Linux 的发行说明](client-vpn-connect-linux-release-notes.md)。

## 使用 AWS 提供的适用于 Linux 的客户端连接到 Client VPN 的要求
<a name="client-vpn-connect-linux-req"></a>

要使用 AWS 提供的适用于 Linux 的客户端，需要满足以下条件：
+ Ubuntu 22.04 LTS (AMD64) 或 Ubuntu 24.04 LTS（仅限）AMD64 

对于使用基于 SAML 的联合身份验证（单点登录）的 Client VPN 端点，客户端会在您的计算机上保留 TCP 端口 8096-8115。

在开始之前，请确保您的客户端 VPN 管理员已经[创建了客户端 VPN 终端节点](https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/cvpn-working-endpoints.html#cvpn-working-endpoint-create)，并为您提供了[客户端 VPN 终端节点配置文件](https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/cvpn-working-endpoint-export.html)。如果要同时连接到多个配置文件，则需要为每个配置文件提供一个配置文件。

**Topics**
+ [使用 AWS 提供的适用于 Linux 的客户端连接到 Client VPN 的要求](#client-vpn-connect-linux-req)
+ [安装客户端](client-vpn-connect-linux-install.md)
+ [使用客户端进行连接](client-vpn-connect-linux-connecting.md)
+ [发行说明](client-vpn-connect-linux-release-notes.md)

# 安装提供的 AWS Client VPN 适用于 Linux 的
<a name="client-vpn-connect-linux-install"></a>

有多种方法可用于安装所 AWS 提供的 Linux 客户端。从以下选项中选择一种方法。在开始之前，请您务必阅读[要求](client-vpn-connect-linux.md#client-vpn-connect-linux-req)。

**选项 1：通过程序包存储库安装**

1. 将 AWS VPN 客户端公钥添加到您的 Ubuntu 操作系统。

   ```
   wget -qO- https://d20adtppz83p9s.cloudfront.net/GTK/latest/debian-repo/awsvpnclient_public_key.asc | sudo tee /etc/apt/trusted.gpg.d/awsvpnclient_public_key.asc
   ```

1. 使用以下命令将存储库添加到您的 Ubuntu 操作系统（版本 22.04 及更高版本）：

   ```
   echo "deb [arch=amd64] https://d20adtppz83p9s.cloudfront.net/GTK/latest/debian-repo ubuntu main" | sudo tee /etc/apt/sources.list.d/aws-vpn-client.list
   ```

1. 使用以下命令更新系统上的存储库。

   ```
   sudo apt-get update
   ```

1. 使用以下命令安装所 AWS 提供的 Linux 客户端。

   ```
   sudo apt-get install awsvpnclient
   ```

**选项 2：使用 .deb 程序包文件安装**

1. 通过 [AWS Client VPN 下载](https://d20adtppz83p9s.cloudfront.net/GTK/latest/awsvpnclient_amd64.deb)或使用以下命令下载 .deb 文件。

   ```
   curl https://d20adtppz83p9s.cloudfront.net/GTK/latest/awsvpnclient_amd64.deb -o awsvpnclient_amd64.deb
   ```

1. 使用该`dpkg`实用程序安装 AWS 所提供的 Linux 客户端。

   ```
   sudo dpkg -i awsvpnclient_amd64.deb
   ```

**选项 3 – 通过 Ubuntu 软件中心安装 .deb 程序包**

1. 通过 [AWS Client VPN 下载](https://d20adtppz83p9s.cloudfront.net/GTK/latest/awsvpnclient_amd64.deb)下载 .deb 程序包文件。

1.  下载 .deb 程序包文件后，通过 Ubuntu 软件中心安装程序包。按照 [Ubuntu Wiki](https://wiki.ubuntu.com/SoftwareCenter#from_a_standalone_.deb_package) 上所述的步骤，通过 Ubuntu 软件中心安装独立的 .deb 程序包。

# Connect 连接到提供的 AWS Client VPN 适用于 Linux 的
<a name="client-vpn-connect-linux-connecting"></a>

在以下步骤中，所 AWS 提供的*Site-to-Site VPN 客户*也被称为客户。

**使用 AWS 提供的适用于 Linux 的客户端进行连接**

1. 打开 **Site-to-Site VPN 客户端**应用程序。

1. 选择**文件**、**管理配置文件**。

1. 选择**添加配置文件**。

1. 对于**显示名称**，输入配置文件的名称。

1. 对于 **VPN 配置文件**，浏览到您从客户端 VPN 管理员那里收到的配置文件。选择 **Open**。

1. 选择 **Add Profile (添加配置文件)**。

1. 如果要创建多个连接，请对要添加的每个配置文件重复**添加配置文件**步骤。您可以根据需要添加任意数量的配置文件，但最多只能有五个打开的连接。

1. 在 **Site-to-Site VPN 客户端**窗口中，选择要连接的配置文件，然后选择**连接**。如果已将客户端 VPN 终端节点配置为使用基于凭证的身份验证，系统将提示您输入用户名和密码。对要启动的每个配置文件连接重复此步骤，最多可连接五个并发端点。
**注意**  
如果您连接的任何配置文件与当前打开的会话发生冲突，则您将无法建立连接。要么选择新的连接，要么断开导致冲突的会话连接。

1. 要查看连接的统计信息，请在 **AWS VPN 客户端**窗口中选择**连接**，选择**显示详细信息**，然后选择要查看其详细信息的连接。

1. 要断开连接，请在 **AWS VPN 客户端**窗口中选择一个连接，然后选择**断开连接**。如果您有多个打开的连接，则必须分别关闭每个连接。

# AWS Client VPN 适用于 Linux 的发行说明
<a name="client-vpn-connect-linux-release-notes"></a>

下表包含适用于Linux的当前和先前版本 AWS Client VPN 的发行说明和下载链接。

**注意**  
我们继续为每个版本提供可用性和安全性修复。强烈建议您为每一种平台使用最新版本。以前的版本可能会受到可用性 and/or 安全问题的影响。请参阅发行说明了解详细信息。


| 版本 | 更改 | 日期 | 下载链接 | 
| --- | --- | --- | --- | 
| 5.3.2 |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/vpn/latest/clientvpn-user/client-vpn-connect-linux-release-notes.html)  | 2025 年 12 月 17 日 | [下载版本 5.3.2](https://d20adtppz83p9s.cloudfront.net/GTK/5.3.2/awsvpnclient_amd64.deb) sha256：89e4b9f2c9f7def37167f5f137f4ff9c6c5246fd6e0a7244b70c196a17683569  | 
| 5.3.1 |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/vpn/latest/clientvpn-user/client-vpn-connect-linux-release-notes.html)  | 2025 年 9 月 25 日 | [下载版本 5.3.1](https://d20adtppz83p9s.cloudfront.net/GTK/5.3.1/awsvpnclient_amd64.deb) sha256：4a426cc226382748d683a4946340447dab87ec42583977d9488ee45d11cdcec0  | 
| 5.3.0 |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/vpn/latest/clientvpn-user/client-vpn-connect-linux-release-notes.html)  | 2025 年 8 月 14 日 | [下载版本 5.3.0](https://d20adtppz83p9s.cloudfront.net/GTK/5.3.0/awsvpnclient_amd64.deb) sha256：31edb55f12dcd68a7a4ca9b6233ddbeebcd37e01f87655a520cc7e7542bbfcb4  | 
| 5.2.0 |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/vpn/latest/clientvpn-user/client-vpn-connect-linux-release-notes.html)  | 2025 年 4 月 8 日 | [下载版本 5.2.0](https://d20adtppz83p9s.cloudfront.net/GTK/5.2.0/awsvpnclient_amd64.deb) sha256：ef7189f085db30ef0c521adcdfec892075cb005c8e0014fdbcc590218509891f  | 
| 5.1.0 |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/vpn/latest/clientvpn-user/client-vpn-connect-linux-release-notes.html)  | 2025 年 3 月 17 日 | [下载版本 5.1.0](https://d20adtppz83p9s.cloudfront.net/GTK/5.1.0/awsvpnclient_amd64.deb) sha256：14f26c05b11b0cc484b08a8f8d20739de3d815c268db3bba9ac70c0e766b70ba  | 
| 5.0.0 |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/vpn/latest/clientvpn-user/client-vpn-connect-linux-release-notes.html)  | 2025 年 1 月 21 日 | [下载版本 5.0.0](https://d20adtppz83p9s.cloudfront.net/GTK/5.0.0/awsvpnclient_amd64.deb) sha256：645126b5698cb550e9dc822e58ed899a5730d2e204f28f4023ec671915fdda0c  | 
| 4.1.0 |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/vpn/latest/clientvpn-user/client-vpn-connect-linux-release-notes.html)  | 2024 年 11 月 12 日 | [下载版本 4.1.0](https://d20adtppz83p9s.cloudfront.net/GTK/4.1.0/awsvpnclient_amd64.deb) sha256：334d00222458fbfe9dade16c99fe97e9ebcbd51fff017d0d6b1d1b764e7af472  | 
| 4.0.0 | 次要增强功能。 | 2024 年 9 月 25 日 | [下载版本 4.0.0](https://d20adtppz83p9s.cloudfront.net/GTK/4.0.0/awsvpnclient_amd64.deb) sha256：c263271874217d79783fcca182025ace27ddbf8f9661b56df48843fa17922686  | 
| 3.15.1 |  增加了对 `mssfix` OpenVPN 标志的支持。  | 2024 年 9 月 4 日 | [下载版本 3.15.1](https://d20adtppz83p9s.cloudfront.net/GTK/3.15.1/awsvpnclient_amd64.deb) sha256：ffb65c0bc93e8d611cbce2deb6b82f600e6434e4d03c6b44c53d61a2efcaadc2  | 
| 3.15.0 |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/vpn/latest/clientvpn-user/client-vpn-connect-linux-release-notes.html)  | 2024 年 8 月 12 日 | [下载版本 3.15.0](https://d20adtppz83p9s.cloudfront.net/GTK/3.15.0/awsvpnclient_amd64.deb) sha256：5cf3eb08de96821b0ad3d0c93174b2e308041d5490a3edb772dfd89a6d89d012  | 
| 3.14.0 |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/vpn/latest/clientvpn-user/client-vpn-connect-linux-release-notes.html)  | 2024 年 7 月 29 日 | [下载版本 3.14.0](https://d20adtppz83p9s.cloudfront.net/GTK/3.14.0/awsvpnclient_amd64.deb) sha256：bd2b401a1ede6057d725a13c77ef92147a79e0c5e0020d379e44f319b5334f60  | 
| 3.13.0 |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/vpn/latest/clientvpn-user/client-vpn-connect-linux-release-notes.html)  | 2024 年 5 月 21 日 | [下载版本 3.13.0](https://d20adtppz83p9s.cloudfront.net/GTK/3.13.0/awsvpnclient_amd64.deb)sha256：e89f3bb7fc24c148e3044b807774fcfe05e7eae9e551863a38a2dcd7e0ac05f1 | 
| 3.12.2 |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/vpn/latest/clientvpn-user/client-vpn-connect-linux-release-notes.html)  | 2024 年 4 月 11 日 | [下载版本 3.12.2](https://d20adtppz83p9s.cloudfront.net/GTK/3.12.2/awsvpnclient_amd64.deb)sha256：f7178c33797740bd596a14cbe7b6f5f58fb79d17af79f88bd8801353a7571a7d | 
| 3.12.1 |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/vpn/latest/clientvpn-user/client-vpn-connect-linux-release-notes.html)  | 2024 年 2 月 16 日 | [下载版本 3.12.1](https://d20adtppz83p9s.cloudfront.net/GTK/3.12.1/awsvpnclient_amd64.deb)sha256：547c4ffd3e35c54db8e0b792aed9de1510f6f31a6009e55b8af4f0c2f5cf31d0 | 
| 3.12.0 |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/vpn/latest/clientvpn-user/client-vpn-connect-linux-release-notes.html)  | 2023 年 12 月 19 日 | [下载版本 3.12.0](https://d20adtppz83p9s.cloudfront.net/GTK/3.12.0/awsvpnclient_amd64.deb)sha256：9b73987309f1dca1960a322c5dd86eec1568ed270bfd25f78cc430e3b5f85cc1 | 
| 3.11.0 |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/vpn/latest/clientvpn-user/client-vpn-connect-linux-release-notes.html)  | 2023 年 12 月 6 日 | [下载版本 3.11.0](https://d20adtppz83p9s.cloudfront.net/GTK/3.11.0/awsvpnclient_amd64.deb)sha256: 86c0fa1bf1c97194082835a739ec7f1c87e540194955f414a35c679b94538970 | 
| 3.10.0 |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/vpn/latest/clientvpn-user/client-vpn-connect-linux-release-notes.html)  | 2023 年 12 月 6 日 | [下载版本 3.10.0](https://d20adtppz83p9s.cloudfront.net/GTK/3.10.0/awsvpnclient_amd64.deb)sha256: e7450b2490f3b96ab7d589a8000d838d9fd2adcdd72ae80666c4c0d900687e51 | 
| 3.9.0 |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/vpn/latest/clientvpn-user/client-vpn-connect-linux-release-notes.html)  | 2023 年 8 月 24 日 | [下载版本 3.9.0](https://d20adtppz83p9s.cloudfront.net/GTK/3.9.0/awsvpnclient_amd64.deb)sha256：6cde9cfff82754119e6a68464d4bb350da3cb3e1ebf9140dacf24e4fd2197454  | 
| 3.8.0 |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/vpn/latest/clientvpn-user/client-vpn-connect-linux-release-notes.html)  | 2023 年 8 月 3 日 | [下载版本 3.8.0](https://d20adtppz83p9s.cloudfront.net/GTK/3.8.0/awsvpnclient_amd64.deb)sha256：5fe479236cc0a1940ba37fe168e551096f8dae4c68d45560a164e41edea3e5bd | 
| 3.7.0 |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/vpn/latest/clientvpn-user/client-vpn-connect-linux-release-notes.html)  | 2023 年 7 月 15 日 | 不再受支持 | 
| 3.6.0 |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/vpn/latest/clientvpn-user/client-vpn-connect-linux-release-notes.html)  | 2023 年 7 月 15 日 | 不再受支持 | 
| 3.5.0 |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/vpn/latest/clientvpn-user/client-vpn-connect-linux-release-notes.html)  | 2023 年 7 月 14 日 | 不再受支持 | 
| 3.4.0 |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/vpn/latest/clientvpn-user/client-vpn-connect-linux-release-notes.html)  | 2023 年 2 月 14 日 | 不再受支持 | 
| 3.1.0 |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/vpn/latest/clientvpn-user/client-vpn-connect-linux-release-notes.html)  | 2022 年 5 月 23 日 | 不再受支持 | 
| 3.0.0 |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/vpn/latest/clientvpn-user/client-vpn-connect-linux-release-notes.html)  | 2022 年 3 月 3 日 | 不再受支持。 | 
| 2.0.0 |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/vpn/latest/clientvpn-user/client-vpn-connect-linux-release-notes.html)  | 2022 年 1 月 20 日 | 不再受支持。 | 
| 1.0.3 |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/vpn/latest/clientvpn-user/client-vpn-connect-linux-release-notes.html)  | 2021 年 11 月 8 日 | 不再受支持。 | 
| 1.0.2 |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/vpn/latest/clientvpn-user/client-vpn-connect-linux-release-notes.html)  | 2021 年 9 月 28 日 | 不再受支持。 | 
| 1.0.1 |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/vpn/latest/clientvpn-user/client-vpn-connect-linux-release-notes.html)  | 2021 年 8 月 4 日 | 不再受支持。 | 
| 1.0.0 | 首次发布。 | 2021 年 6 月 11 日 | 不再受支持。 | 