mirror of
https://github.com/angristan/openvpn-install.git
synced 2025-07-01 12:04:22 +02:00
Update openvpn-install.sh
This commit is contained in:
parent
948b6511b7
commit
07de8b9feb
@ -598,7 +598,7 @@ 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 "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
|
||||||
elif [[ "$PROTOCOL" = '2' ]]; then
|
elif [[ "$PROTOCOL" = '2' ]]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user