diff --git a/README-zh.md b/README-zh.md index 556fd04..50cecd8 100644 --- a/README-zh.md +++ b/README-zh.md @@ -28,7 +28,7 @@ IPsec VPN 可以加密你的网络流量,以防止在通过因特网传送时 ## 快速开始 首先,在你的 Linux 服务器\* 上全新安装以下系统之一: -Ubuntu, Debian, CentOS/RHEL, Rocky Linux, AlmaLinux 或者 Amazon Linux 2 +Ubuntu, Debian, CentOS/RHEL, Rocky Linux, AlmaLinux, Amazon Linux 2 或者 Alpine Linux 使用以下命令快速搭建 IPsec VPN 服务器: @@ -71,6 +71,7 @@ wget https://git.io/vpnquickstart -O vpn.sh && sudo sh vpn.sh - AlmaLinux OS 8 - Red Hat Enterprise Linux (RHEL) 8 或者 7 - Amazon Linux 2 +- Alpine Linux 3.14 这也包括各种公共云服务中的 Linux 虚拟机,比如 [DigitalOcean](https://blog.ls20.com/digitalocean), [Vultr](https://blog.ls20.com/vultr), [Linode](https://blog.ls20.com/linode), [Microsoft Azure](https://azure.microsoft.com) 和 [OVH](https://www.ovhcloud.com/en/vps/)。[Amazon EC2](https://aws.amazon.com/ec2/) 用户可以使用 [CloudFormation](aws/README-zh.md) 或者 [用户数据](https://blog.ls20.com/ipsec-l2tp-vpn-auto-setup-for-ubuntu-12-04-on-amazon-ec2/#vpnsetup) 快速部署。 diff --git a/README.md b/README.md index 92a752b..06acd78 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ We will use [Libreswan](https://libreswan.org/) as the IPsec server, and [xl2tpd ## Quick start First, prepare your Linux server\* with a fresh install of one of the following OS: -Ubuntu, Debian, CentOS/RHEL, Rocky Linux, AlmaLinux or Amazon Linux 2 +Ubuntu, Debian, CentOS/RHEL, Rocky Linux, AlmaLinux, Amazon Linux 2 or Alpine Linux Use this one-liner to set up an IPsec VPN server: @@ -71,6 +71,7 @@ A dedicated server or virtual private server (VPS), freshly installed with one o - AlmaLinux OS 8 - Red Hat Enterprise Linux (RHEL) 8 or 7 - Amazon Linux 2 +- Alpine Linux 3.14 This also includes Linux VMs in public clouds, such as [DigitalOcean](https://blog.ls20.com/digitalocean), [Vultr](https://blog.ls20.com/vultr), [Linode](https://blog.ls20.com/linode), [Microsoft Azure](https://azure.microsoft.com) and [OVH](https://www.ovhcloud.com/en/vps/). [Amazon EC2](https://aws.amazon.com/ec2/) users can deploy rapidly using [CloudFormation](aws/README.md) or [user data](https://blog.ls20.com/ipsec-l2tp-vpn-auto-setup-for-ubuntu-12-04-on-amazon-ec2/#vpnsetup). diff --git a/docs/uninstall-zh.md b/docs/uninstall-zh.md index 07c2731..5eb4b6b 100644 --- a/docs/uninstall-zh.md +++ b/docs/uninstall-zh.md @@ -47,9 +47,13 @@ rm -f /etc/init/ipsec.conf /lib/systemd/system/ipsec.service /etc/init.d/ipsec \ `yum remove xl2tpd` +#### Alpine Linux + +`apk del xl2tpd` + ### 第三步 -#### Ubuntu & Debian +#### Ubuntu, Debian & Alpine Linux 编辑 `/etc/iptables.rules` 并删除不需要的规则。你之前的防火墙规则(如果有)备份在 `/etc/iptables.rules.old-日期-时间`。另外如果文件 `/etc/iptables/rules.v4` 存在,请编辑它。 diff --git a/docs/uninstall.md b/docs/uninstall.md index 8d765db..9de3c20 100644 --- a/docs/uninstall.md +++ b/docs/uninstall.md @@ -47,9 +47,13 @@ rm -f /etc/init/ipsec.conf /lib/systemd/system/ipsec.service /etc/init.d/ipsec \ `yum remove xl2tpd` +#### Alpine Linux + +`apk del xl2tpd` + ### Third step -#### Ubuntu & Debian +#### Ubuntu, Debian & Alpine Linux Edit `/etc/iptables.rules` and remove unneeded rules. Your original rules (if any) are backed up as `/etc/iptables.rules.old-date-time`. In addition, edit `/etc/iptables/rules.v4` if the file exists.