From 4202a888048d9f94392783cfe77883c2750b5541 Mon Sep 17 00:00:00 2001 From: hwdsl2 Date: Fri, 9 Sep 2022 23:53:53 -0500 Subject: [PATCH] Update docs --- docs/uninstall-zh.md | 20 ++++++++++++++++++-- docs/uninstall.md | 20 ++++++++++++++++++-- 2 files changed, 36 insertions(+), 4 deletions(-) diff --git a/docs/uninstall-zh.md b/docs/uninstall-zh.md index 28cc2ff..ab833c8 100644 --- a/docs/uninstall-zh.md +++ b/docs/uninstall-zh.md @@ -115,10 +115,26 @@ rm -f /etc/ipsec.conf* /etc/ipsec.secrets* /etc/ppp/chap-secrets* /etc/ppp/optio rm -rf /etc/ipsec.d /etc/xl2tpd ``` -删除 IKEv2 脚本: +删除辅助脚本: ```bash -rm -f /usr/bin/ikev2.sh /opt/src/ikev2.sh +rm -f /usr/bin/ikev2.sh /opt/src/ikev2.sh \ + /usr/bin/addvpnuser.sh /opt/src/addvpnuser.sh \ + /usr/bin/delvpnuser.sh /opt/src/delvpnuser.sh +``` + +删除 fail2ban: + +**注:** 这是可选的。Fail2ban 可以帮助保护你的服务器上的 SSH。\*不推荐\*删除它。 + +```bash +service fail2ban stop +# Ubuntu & Debian +apt-get purge fail2ban +# CentOS/RHEL, Rocky Linux, AlmaLinux, Oracle Linux & Amazon Linux 2 +yum remove fail2ban +# Alpine Linux +apk del fail2ban ``` ### 完成后 diff --git a/docs/uninstall.md b/docs/uninstall.md index 8dda755..ac2e4e2 100644 --- a/docs/uninstall.md +++ b/docs/uninstall.md @@ -115,10 +115,26 @@ rm -f /etc/ipsec.conf* /etc/ipsec.secrets* /etc/ppp/chap-secrets* /etc/ppp/optio rm -rf /etc/ipsec.d /etc/xl2tpd ``` -Remove IKEv2 script: +Remove helper scripts: ```bash -rm -f /usr/bin/ikev2.sh /opt/src/ikev2.sh +rm -f /usr/bin/ikev2.sh /opt/src/ikev2.sh \ + /usr/bin/addvpnuser.sh /opt/src/addvpnuser.sh \ + /usr/bin/delvpnuser.sh /opt/src/delvpnuser.sh +``` + +Remove fail2ban: + +**Note:** This is optional. Fail2ban can help protect SSH on your server. Removing it is NOT recommended. + +```bash +service fail2ban stop +# Ubuntu & Debian +apt-get purge fail2ban +# CentOS/RHEL, Rocky Linux, AlmaLinux, Oracle Linux & Amazon Linux 2 +yum remove fail2ban +# Alpine Linux +apk del fail2ban ``` ### When finished