Superb quality and spec AB-Com PULSe 4K SE. Crazy offer! Only £99! FREE UK DELIVERY! 4K UHD, Enigma 2, Multiboot 4 images & more!...
Superb quality and spec AB-Com PULSe 4K Rev II Twin Satellite tuner only £149! FREE UK DELIVERY! 4K UHD, Enigma 2, SATA HDD facility, Multiboot 4 images & more!...

openvpn not working on Openvix 6 1 003 Release Vuduo4k

Something like this I did before to edit all .ovpn files in one folder



Code:
for file in /hdd/OpenVPN/*.ovpn
do
    echo "tls-cipher "DEFAULT:@SECLEVEL=0"" >> "$file"
done
 
Last edited:
Something like this I did before to edit all .ovpn files in one folder



Code:
for file in /hdd/OpenVPN/*.ovpn
do
    echo "tls-cipher "DEFAULT:@SECLEVEL=0"" >> "$file"
done

I found i was getting run errors down to the double inverted commas i think.

Worked once i changed to...

for file in /media/hdd/Digibit2/*.ovpn; do echo "tls-cipher "DEFAULT:@SECLEVEL=0"" >> "$file"; done

However, as it added after the certificate in my Digibit ovpn file, it appears to be ignored and won't connect.

The ones i've manually added the line above the certificate work fine...

Thanks again though for the FIX!!

Albert
 
Bit of a late reply, only just sorted this openvpn problem on my machine, never got this sec level change working previously.
Anyway, if it helps anyone, the edit to change all your vpn config files at once is below. This will edit all files in the current folder, if it has a line starting mssfix, it will drop the new line in before that, which is working for me.

sed -i '/mssfix/s/^/tls-cipher "DEFAULT:@SECLEVEL=0"\n/' *

eg. file now shows as...

client
dev tun
proto udp
remote xxx.xx.xxx.xxx xxxx
resolv-retry infinite
nobind
tun-mtu 1500
tun-mtu-extra 32
tls-cipher "DEFAULT:@SECLEVEL=0"
mssfix 1450
persist-key
persist-tun
auth-user-pass
comp-lzo
reneg-sec 0
verb 3
<ca>
 
hi, so I have the same issue as many with openvpn. And I see your answer tls-cipher "DEFAULT:@SECLEVEL=0". But the problem I have is that I can update the client.conf in /etc/openvpn but whenever I restart the nordvpn service it overwrites the client.conf. And I have done a chmod on the file to stop write access but when I check again the permissions are back to read write. I know you had mentioned putting all the configs on the hdd and I can do this and I can also update the files with your line thanks to the help of you all but at the end of the day enigma2 looks for client.conf in /etc/openvpn so how do I redirect it to /hdd/vpn and how can I show it which file is appropriate for which nordvpn server as all these files are named differently based on that server. Thanks a million. This is driving me nuts
 

OpenViX Feeds Status

Back
Top