mirror of
https://github.com/angristan/openvpn-install.git
synced 2025-07-03 13:04:22 +02:00
"local" option removal
Remove "local" option from server.conf.
This commit is contained in:
parent
484b601f02
commit
948b6511b7
@ -598,7 +598,6 @@ set_var EASYRSA_CURVE $CERT_CURVE" > vars
|
|||||||
chmod 644 /etc/openvpn/crl.pem
|
chmod 644 /etc/openvpn/crl.pem
|
||||||
|
|
||||||
# Generate server.conf
|
# Generate server.conf
|
||||||
echo "local $IP" > /etc/openvpn/server.conf
|
|
||||||
echo "port $PORT" >> /etc/openvpn/server.conf
|
echo "port $PORT" >> /etc/openvpn/server.conf
|
||||||
if [[ "$PROTOCOL" = '1' ]]; then
|
if [[ "$PROTOCOL" = '1' ]]; then
|
||||||
echo "proto udp" >> /etc/openvpn/server.conf
|
echo "proto udp" >> /etc/openvpn/server.conf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user