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
|
||||
fi
|
||||
|
||||
echo "dev tap
|
||||
echo 'dev tap
|
||||
user nobody
|
||||
group $NOGROUP
|
||||
persist-key
|
||||
persist-tun
|
||||
keepalive 10 120
|
||||
server 10.8.0.0 255.255.255.0
|
||||
ifconfig-pool-persist ipp.txt" >>/etc/openvpn/server.conf
|
||||
server 10.233.0.0 255.255.0.0
|
||||
push "route 10.233.0.0 255.255.0.0"
|
||||
ifconfig-pool-persist ipp.txt' >>/etc/openvpn/server.conf
|
||||
|
||||
if [[ $COMPRESSION_ENABLED == "y" ]]; then
|
||||
echo "compress $COMPRESSION_ALG" >>/etc/openvpn/server.conf
|
||||
|
Loading…
x
Reference in New Issue
Block a user