mirror of
https://github.com/Nyr/openvpn-install.git
synced 2025-04-05 05:33:30 +03:00
Merge pull request #2 from mindgam3s/added-comments-to-DH-parameters
added comments to the 'predefined DH' section
This commit is contained in:
commit
d7d567d554
1 changed files with 2 additions and 0 deletions
|
@ -256,6 +256,8 @@ LimitNPROC=infinity" > /etc/systemd/system/openvpn-server@server.service.d/disab
|
|||
# Generate key for tls-crypt
|
||||
openvpn --genkey --secret /etc/openvpn/server/tc.key
|
||||
# Create the DH parameters file using the predefined ffdhe2048 group
|
||||
# see https://security.stackexchange.com/a/149818
|
||||
# and https://www.rfc-editor.org/rfc/rfc7919
|
||||
echo '-----BEGIN DH PARAMETERS-----
|
||||
MIIBCAKCAQEA//////////+t+FRYortKmq/cViAnPTzx2LnFg84tNpWp4TZBFGQz
|
||||
+8yTnc4kmz75fS/jY2MMddj2gbICrsRhetPfHtXV/WVhJDP1H18GbtCFY2VVPe0a
|
||||
|
|
Loading…
Add table
Reference in a new issue