diff --git a/docs/clients-zh.md b/docs/clients-zh.md index 365c296..1c7da5f 100644 --- a/docs/clients-zh.md +++ b/docs/clients-zh.md @@ -419,12 +419,12 @@ ipsec whack --trafficstatus apt-get update apt-get install strongswan xl2tpd net-tools +# Fedora +yum install strongswan xl2tpd net-tools + # CentOS yum install epel-release yum --enablerepo=epel install strongswan xl2tpd net-tools - -# Fedora -yum install strongswan xl2tpd net-tools ``` 创建 VPN 变量(替换为你自己的值): diff --git a/docs/clients.md b/docs/clients.md index bfbd88f..4e54660 100644 --- a/docs/clients.md +++ b/docs/clients.md @@ -418,12 +418,12 @@ To set up the VPN client, first install the following packages: apt-get update apt-get install strongswan xl2tpd net-tools +# Fedora +yum install strongswan xl2tpd net-tools + # CentOS yum install epel-release yum --enablerepo=epel install strongswan xl2tpd net-tools - -# Fedora -yum install strongswan xl2tpd net-tools ``` Create VPN variables (replace with actual values): diff --git a/docs/ikev2-howto-zh.md b/docs/ikev2-howto-zh.md index f134a8f..16e8cdc 100644 --- a/docs/ikev2-howto-zh.md +++ b/docs/ikev2-howto-zh.md @@ -302,9 +302,12 @@ sudo apt-get install network-manager-strongswan sudo pacman -Syu # 升级所有软件包 sudo pacman -S networkmanager-strongswan +# Fedora +sudo yum install NetworkManager-strongswan-gnome + # CentOS sudo yum install epel-release -sudo yum --enablerepo=epel install NetworkManager-strongswan +sudo yum --enablerepo=epel install NetworkManager-strongswan-gnome ``` 下一步,将生成的 `.p12` 文件安全地从 VPN 服务器传送到你的 Linux 计算机。然后提取 CA 证书,客户端证书和私钥。将下面示例中的 `vpnclient.p12` 换成你的 `.p12` 文件名。 diff --git a/docs/ikev2-howto.md b/docs/ikev2-howto.md index a4f1ea6..9798238 100644 --- a/docs/ikev2-howto.md +++ b/docs/ikev2-howto.md @@ -302,9 +302,12 @@ sudo apt-get install network-manager-strongswan sudo pacman -Syu # upgrade all packages sudo pacman -S networkmanager-strongswan +# Fedora +sudo yum install NetworkManager-strongswan-gnome + # CentOS sudo yum install epel-release -sudo yum --enablerepo=epel install NetworkManager-strongswan +sudo yum --enablerepo=epel install NetworkManager-strongswan-gnome ``` Next, securely transfer the generated `.p12` file from the VPN server to your Linux computer. After that, extract the CA certificate, client certificate and private key. Replace `vpnclient.p12` in the example below with the name of your `.p12` file.