Update docs
This commit is contained in:
parent
9437be8553
commit
191e0af9ff
@ -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 变量(替换为你自己的值):
|
||||
|
@ -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):
|
||||
|
@ -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` 文件名。
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user