You are not logged in.

#1 2014-08-05 04:39:26

Nordic89
Member
Registered: 2014-05-07
Posts: 49

Can't connect to OpenVPN with connman

I made the change from networkmanager to connnman, but I couldn't get a vpn connection ever since.

/var/lib/connman-vpn/VPN.config:

[provider_openvpn]
Type = OpenVPN
Name = AirVPN Europe
Host = 37.48.81.11
Domain = 37.48.81.11
OpenVPN.CACert = /home/robert/CloudStation/Technikconf/AirVPN/ca.crt
OpenVPN.Cert = /home/robert/CloudStation/Technikconf/AirVPN/user.crt
OpenVPN.Key = /home/robert/CloudStation/Technikconf/AirVPN/user.key
OpenVPN.TLSAuth = /home/robert/CloudStation/Technikconf/AirVPN/ta.key
OpenVPN.Port = 443
OpenVPN.CompLZO = no
OpenVPN.RemoteCertTls = server
OpenVPN.Proto = udp
OpenVPN.Cipher = AES-256-CBC
OpenVPN.NSCertType = client

Content of the .ovpn file that always worked with networkmanager:

# --------------------------------------------------------
# Air VPN | https://airvpn.org | Sunday 3rd of August 2014 02:23:45 PM
# OpenVPN Client Configuration
# AirVPN_Europe_UDP-443
# --------------------------------------------------------

client
dev tun
proto udp
remote 37.48.81.11 443
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
cipher AES-256-CBC
comp-lzo no
verb 3
explicit-exit-notify 5
ca "ca.crt"
cert "user.crt"
key "user.key"
tls-auth "ta.key" 1

Offline

Board footer

Powered by FluxBB