Merge 0d667e49a7 into bca57c483d
This commit is contained in:
commit
1156bbfbb0
1 changed files with 1 additions and 0 deletions
|
|
@ -666,6 +666,7 @@ function installOpenVPN () {
|
||||||
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 [[ "$IPV6_SUPPORT" = 'n' ]]; then
|
if [[ "$IPV6_SUPPORT" = 'n' ]]; then
|
||||||
echo "proto $PROTOCOL" >> /etc/openvpn/server.conf
|
echo "proto $PROTOCOL" >> /etc/openvpn/server.conf
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue