You are not logged in.
Pages: 1
Topic closed
I'm trying to figure out how to setup a VPN service (in my case, Mullvad) with Connman. I've got it working with OpenVPN, but I'd like it to be connected to Connman so that the VPN will auto start/stop when Connman starts a network connection.
I can't, for the life of me, get Connman VPN to even give me an error let alone work. I've read the Connman official guide and all the forum posts I could find.
Here is my /var/lib/connman-vpn/VPN.conf:
[provider_mullvad]
Type = OpenVPN
Name = Mullvad VPN
Host = gb-mnc.mullvad.net
Domain = mullvad.net
OpenVPN.ConfigFile=/etc/openvpn/openvpn.conf
OpenVPN.TLSAuthDir = 1
OpenVPN.AuthNoCache = 0
OpenVPN.CompLZO = yes
OpenVPN.RemoteCertTls = server
OpenVPN.CACert = /etc/openvpn/mullvad_ca.crt
OpenVPN.Cert = /etc/openvpn/mullvad_crl.pem
OpenVPN.AuthUserPass = /etc/openvpn/mullvad_userpass.txt
However, when I run:
connmanctl> vpnconnections
connmanctl>
You can see there is no listed VPN.
I also tried with a config file I saw online that they confirmed was working but I got the same blank output. Are there any logs that might offer some explanation?
Offline
For whoever runs into this: I was just stuck on this same issue for an hour.
Turns out VPN config file names need to end in ".config" instead of ".conf".
Offline
Thanks for the contribution.
From the guide linked in the first post:
Configuration file names must not include other characters than letters or numbers and must have a .config suffix.
I will close this old topic now.
Offline
Pages: 1
Topic closed