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
|
sudo bash vpnunst.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
在完成后重启你的服务器。这一步是可选的,但推荐。
|
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>
|
<summary>
|
||||||
如果无法下载,请点这里。
|
如果无法下载,请点这里。
|
||||||
|
@ -14,8 +14,6 @@ wget -nv -O vpnunst.sh https://get.vpnsetup.net/unst
|
|||||||
sudo bash vpnunst.sh
|
sudo bash vpnunst.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
When finished, reboot your server. This is optional, but recommended.
|
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>
|
<summary>
|
||||||
Click here if you are unable to download.
|
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
|
sed --follow-symlinks -i '/# Added by hwdsl2 VPN script/,+17d' /etc/sysctl.conf
|
||||||
fi
|
fi
|
||||||
echo 0 > /proc/sys/net/ipv4/ip_forward
|
echo 0 > /proc/sys/net/ipv4/ip_forward
|
||||||
|
echo 1 > /proc/sys/net/ipv4/conf/all/rp_filter
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -310,7 +311,7 @@ remove_vpn() {
|
|||||||
|
|
||||||
print_vpn_removed() {
|
print_vpn_removed() {
|
||||||
echo
|
echo
|
||||||
echo "IPsec VPN removed! Please reboot your server. This is optional, but recommended."
|
echo "IPsec VPN removed!"
|
||||||
}
|
}
|
||||||
|
|
||||||
vpnuninstall() {
|
vpnuninstall() {
|
||||||
|
Loading…
Reference in New Issue
Block a user