1
0
mirror of synced 2024-11-23 21:36:09 +03:00

Compare commits

..

No commits in common. "6aaacdadce013ce791ca9feaaa1bf35b295294e7" and "30f0f598e4470280991a61c16d91771b3e64c348" have entirely different histories.

3 changed files with 5 additions and 2 deletions

View File

@ -14,6 +14,8 @@ wget -nv -O vpnunst.sh https://get.vpnsetup.net/unst
sudo bash vpnunst.sh
```
在完成后重启你的服务器。这一步是可选的,但推荐。
<details>
<summary>
如果无法下载,请点这里。

View File

@ -14,6 +14,8 @@ wget -nv -O vpnunst.sh https://get.vpnsetup.net/unst
sudo bash vpnunst.sh
```
When finished, reboot your server. This is optional, but recommended.
<details>
<summary>
Click here if you are unable to download.

View File

@ -187,7 +187,6 @@ update_sysctl() {
sed --follow-symlinks -i '/# Added by hwdsl2 VPN script/,+17d' /etc/sysctl.conf
fi
echo 0 > /proc/sys/net/ipv4/ip_forward
echo 1 > /proc/sys/net/ipv4/conf/all/rp_filter
fi
}
@ -311,7 +310,7 @@ remove_vpn() {
print_vpn_removed() {
echo
echo "IPsec VPN removed!"
echo "IPsec VPN removed! Please reboot your server. This is optional, but recommended."
}
vpnuninstall() {