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