1
0
Mirror von https://github.com/angristan/openvpn-install.git synchronisiert 2026-03-14 22:58:50 +01:00

Update openvpn-install.sh

Dieser Commit ist enthalten in:
hybtoy
2017-09-14 16:37:57 +05:00
committet von GitHub
Ursprung 4fa0544c72
Commit 7d56181699

Datei anzeigen

@@ -78,6 +78,7 @@ newclient () {
#We verify if we used tls-crypt or tls-auth during the installation
TLS_SIG=$(cat /etc/openvpn/TLS_SIG)
if [[ $TLS_SIG == "1" ]]; then
echo "<tls-crypt>" >> ~/$1.ovpn
cat /etc/openvpn/tls-crypt.key >> ~/$1.ovpn
echo "</tls-crypt>" >> ~/$1.ovpn
elif [[ $TLS_SIG == "2" ]]; then