mirror of
https://github.com/Nyr/openvpn-install.git
synced 2024-12-01 01:16:05 +03:00
Deprecated openvpn option update
Using --genkey --secret filename is DEPRECATED. Use --genkey secret filename instead.
This commit is contained in:
parent
d4ae10ec25
commit
b3bf3d1094
@ -254,7 +254,7 @@ LimitNPROC=infinity" > /etc/systemd/system/openvpn-server@server.service.d/disab
|
|||||||
# Without +x in the directory, OpenVPN can't run a stat() on the CRL file
|
# Without +x in the directory, OpenVPN can't run a stat() on the CRL file
|
||||||
chmod o+x /etc/openvpn/server/
|
chmod o+x /etc/openvpn/server/
|
||||||
# Generate key for tls-crypt
|
# Generate key for tls-crypt
|
||||||
openvpn --genkey --secret /etc/openvpn/server/tc.key
|
openvpn --genkey secret /etc/openvpn/server/tc.key
|
||||||
# Create the DH parameters file using the predefined ffdhe2048 group
|
# Create the DH parameters file using the predefined ffdhe2048 group
|
||||||
echo '-----BEGIN DH PARAMETERS-----
|
echo '-----BEGIN DH PARAMETERS-----
|
||||||
MIIBCAKCAQEA//////////+t+FRYortKmq/cViAnPTzx2LnFg84tNpWp4TZBFGQz
|
MIIBCAKCAQEA//////////+t+FRYortKmq/cViAnPTzx2LnFg84tNpWp4TZBFGQz
|
||||||
|
Loading…
Reference in New Issue
Block a user