Browse Source

Fix broken client.ovpn

master
Chocobozzz 6 years ago
parent
commit
2e4643d5cf
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
  1. 2
      install.sh

2
install.sh

@ -239,7 +239,7 @@ for file in $(find -name client.ovpn); do
echo "</ca>" >> $file
echo "<tls-auth>" >> $file
cat "/etc/openvpn/ta.key" >> $file
echo "</tls-auth>"
echo "</tls-auth>" >> $file
if [ $openvpn_proto = "udp" ]; then
sed -i "s/proto tcp-client/proto udp/" $file

Loading…
Cancel
Save