Merge pull request #103 from hybtoy/patch-1
"local" option removal / revert https://github.com/Angristan/OpenVPN-install/pull/91
This commit is contained in:
commit
882ea61b96
1 changed files with 1 additions and 2 deletions
|
|
@ -598,8 +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 "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
|
||||||
elif [[ "$PROTOCOL" = '2' ]]; then
|
elif [[ "$PROTOCOL" = '2' ]]; then
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue