I have this .conf file from my VPN provider but I'm unsure how to convert it to the syntax explained in the wiki.
Code
[Interface]
Address = 10.173.72.95,fd7d:76ee:e68f:a993:819a:8f51:d102:3f6
PrivateKey = REDACTED
MTU = 1320
DNS = 10.128.0.1, fd7d:76ee:e68f:a993::1
[Peer]
PublicKey = REDACTED
PresharedKey = REDACTED
Endpoint = nl3.vpn.airdns.org:1637
AllowedIPs = 0.0.0.0/0,::/0
PersistentKeepalive = 15
Display More
i have tried with this, putting it under /.config/wireguard but it does not work.
Code
[provider_wireguard]
Type = WireGuard
Name = AirVPN
Host = 10.173.72.95
WireGuard.Address = 10.2.0.2/24
WireGuard.ListenPort = 1637
WireGuard.PrivateKey = REDACTED
WireGuard.PublicKey = REDACTED
WireGuard.PresharedKey = REDACTED
WireGuard.DNS = 10.128.0.1
WireGuard.AllowedIPs = 0.0.0.0/0
WireGuard.EndpointPort = 1637
WireGuard.PersistentKeepalive = 15
Display More
I'm not sure if it's because the original configuration specifies an address for the endpoint and the connmanctl syntax doesn't support that or if I'm making other mistakes. The thing I'm unsure of is the line "WireGuard.Address". I left it as I found it in the wiki but I'm not sure if that's the correct way to go.
The connection is created and connmanctl doesn't give errors when connecting, ifconfig shows it but ping doesn't work and it basically stops the machine from connecting to the internet and that's it.