Compare commits
2 Commits
30f0f598e4
...
6aaacdadce
Author | SHA1 | Date | |
---|---|---|---|
|
6aaacdadce | ||
|
932e05985f |
@ -14,8 +14,6 @@ wget -nv -O vpnunst.sh https://get.vpnsetup.net/unst
|
||||
sudo bash vpnunst.sh
|
||||
```
|
||||
|
||||
在完成后重启你的服务器。这一步是可选的,但推荐。
|
||||
|
||||
<details>
|
||||
<summary>
|
||||
如果无法下载,请点这里。
|
||||
|
@ -14,8 +14,6 @@ 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.
|
||||
|
@ -187,6 +187,7 @@ 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
|
||||
}
|
||||
|
||||
@ -310,7 +311,7 @@ remove_vpn() {
|
||||
|
||||
print_vpn_removed() {
|
||||
echo
|
||||
echo "IPsec VPN removed! Please reboot your server. This is optional, but recommended."
|
||||
echo "IPsec VPN removed!"
|
||||
}
|
||||
|
||||
vpnuninstall() {
|
||||
|
Loading…
Reference in New Issue
Block a user