为什么不换个好记点的ip段呢

This commit is contained in:
Nao_ke 2020-05-07 09:33:08 +08:00 committed by GitHub
parent 78867cae04
commit c5550f28c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -573,14 +573,15 @@ function installOpenVPN() {
echo "proto ${PROTOCOL}6" >>/etc/openvpn/server.conf echo "proto ${PROTOCOL}6" >>/etc/openvpn/server.conf
fi fi
echo "dev tap echo 'dev tap
user nobody user nobody
group $NOGROUP group $NOGROUP
persist-key persist-key
persist-tun persist-tun
keepalive 10 120 keepalive 10 120
server 10.8.0.0 255.255.255.0 server 10.233.0.0 255.255.0.0
ifconfig-pool-persist ipp.txt" >>/etc/openvpn/server.conf push "route 10.233.0.0 255.255.0.0"
ifconfig-pool-persist ipp.txt' >>/etc/openvpn/server.conf
if [[ $COMPRESSION_ENABLED == "y" ]]; then if [[ $COMPRESSION_ENABLED == "y" ]]; then
echo "compress $COMPRESSION_ALG" >>/etc/openvpn/server.conf echo "compress $COMPRESSION_ALG" >>/etc/openvpn/server.conf