mirror of
https://github.com/Ysurac/openmptcprouter-vps.git
synced 2025-03-09 15:50:00 +00:00
Merge branch 'develop'
This commit is contained in:
commit
d6fa01fd86
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…
Add table
Add a link
Reference in a new issue