mirror of
https://github.com/angristan/openvpn-install.git
synced 2025-07-01 20:14:22 +02:00
为什么不换个好记点的ip段呢
This commit is contained in:
parent
78867cae04
commit
c5550f28c2
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user