mirror of
https://github.com/Ysurac/openmptcprouter-vps.git
synced 2025-02-15 04:42:12 +00:00
fix dh2048 creation on ubuntu
This commit is contained in:
parent
5ba8f5acb3
commit
2976a51dd8
1 changed files with 1 additions and 0 deletions
|
@ -475,6 +475,7 @@ if [ "$OPENVPN" = "yes" ]; then
|
||||||
# openvpn --genkey --secret static.key
|
# openvpn --genkey --secret static.key
|
||||||
#fi
|
#fi
|
||||||
if [ "$ID" = "ubuntu" ] && [ "$VERSION_ID" = "18.04" ]; then
|
if [ "$ID" = "ubuntu" ] && [ "$VERSION_ID" = "18.04" ]; then
|
||||||
|
openssl dhparam -out /etc/openvpn/server/dh2048.pem 2048
|
||||||
wget -O /tmp/EasyRSA-unix-v${EASYRSA_VERSION}.tgz https://github.com/OpenVPN/easy-rsa/releases/download/v3.0.6/EasyRSA-unix-v${EASYRSA_VERSION}.tgz
|
wget -O /tmp/EasyRSA-unix-v${EASYRSA_VERSION}.tgz https://github.com/OpenVPN/easy-rsa/releases/download/v3.0.6/EasyRSA-unix-v${EASYRSA_VERSION}.tgz
|
||||||
cd /tmp
|
cd /tmp
|
||||||
tar xzvf EasyRSA-unix-v${EASYRSA_VERSION}.tgz
|
tar xzvf EasyRSA-unix-v${EASYRSA_VERSION}.tgz
|
||||||
|
|
Loading…
Reference in a new issue