WireGuard VPN Manager

  • "Host" is the machine ip that the Wireguard service is running on or the ip address of the vpn provider?

    Read https://github.com/BrodjagaRatnik…via-Custom-Mode

    Endpoint = 193.148.18.82:51820 in the generated wireguard conf file from the provider... becomes Host = 193.148.18.82 without the endpoint :51820

    This example is all you need to connect.

  • v1.5.7 (27-10-2026) — Auto-converter for standard WireGuard configs

    Hi all, New version is out with one major upgrade:

    1. Auto-converter for standard WireGuard configs

    Downloading a `.conf` file from your provider in the standard `[Interface]/[Peer]` layout? It now works straight out of the box. The add-on translates it to the ConnMan format automatically, no manual reformatting needed.

    2. IPv4/IPv6 endpoint splitting

    Endpoint addresses (`193.148.18.82:51820`) are automatically split into `Host` + `WireGuard.EndpointPort`, including IPv6 bracket format (`[addr]:port`).

    3. Defaults only when missing

    `ListenPort = 51820` and `MTU = 1420` are only added when the provider omits them. Explicit values in the config are always preserved.

    4. [provider_wireguard] files stay byte-identical

    Hand-made files and existing ConnMan configs are never modified.

    5. Logging outside Kodi fixed

    NameError in provider logging has been resolved.

    Wiki updates:

    Importing ProtonVPN via Custom Mode

    How-To Importing Custom WireGuard Configuration

    Note: Some providers include IPv6 addresses in Address/DNS. If you want to avoid IPv6 to prevent leaking, remove the `2a...:` parts from those lines manually after import.


    Salute!

    Doemela

  • Read https://github.com/BrodjagaRatnik…via-Custom-Mode

    Endpoint = 193.148.18.82:51820 in the generated wireguard conf file from the provider... becomes Host = 193.148.18.82 without the endpoint :51820

    This example is all you need to connect.

    Thanks, that's what I needed.

    Works well now.

    Also upgraded to v1.5.7 and the auto-converter works nicely.

  • Hi! First I want to give thanks to Doemela for this addon and everybody who made it possible. I was unable to install the repo on LE13 (12.95.1) but i installed Wireguard manager from a zip. I tried to set it up for Mullvad directly but my account is old and the acct# is only 11 digits long so when i try to enter it on the settings i get "wrong 16 digit account number", to get a new number from mullvad i need to let the account expire and open a new one which is a small PITA because i have several devices on the same account. Tried downloading the WG definition files but these fail to connect too.

  • Hi!

    Glad you like the addon — and thanks for the kind words.

    You've hit a known quirk: Mullvad switched to 16-digit account numbers years ago (for brute-force resistance), but accounts created before that switch have shorter numbers (10-13 digits), and those are still perfectly valid at Mullvad. Our addon currently enforces exactly 16 digits on import, which is why your 11-digit account gets rejected with "wrong 16 digit account number".

    Two things worth knowing:

    1. You do NOT need to let your account expire. Mullvad support can transfer your remaining paid time to a freshly generated 16-digit account. Just email [email protected] (or https://www.mullvad.net/help/contact/) and ask them to move the time from your old account to a new one. Then all your devices just log in with the new number.

    2. The next version of WireGuard Manager will relax the validation to accept legacy account numbers in the 11-16 digit range, with a warning that Mullvad themselves recommend migrating to a new 16-digit account. So you'll be able to import your existing account directly without jumping through hoops.

    As for the downloaded WireGuard config files failing to connect: that's very likely a side effect of the account never having been properly saved/applied, since the addon rejected it during setup. Once your account is accepted (either via the new number from support, or the relaxed validation in the next build), try re-downloading/generating the Mullvad WireGuard configs and importing those — if they still fail after that, let me know and we'll dig into it.

    Cheers,
    Doemela.

  • skinnyviking I don't have a legacy (pre-16-digit) Mullvad account myself, so I'd appreciate it if you — or anyone with an old short account number — could test v1.6.0 https://github.com/BrodjagaRatnik…-1.6.0~beta.zip:

    1. Install the updated add-on (zip install).
    2. Import your Mullvad account file (or enter the number manually in settings).
    3. Let the add-on generate the WireGuard configs and try to connect.
    4. Report back whether the import is accepted and whether the generated profiles connect.

    Note: whether Mullvad's backend accepts the old number for config generation is the key thing to verify —
    the import check is only the first gate. Please post your Kodi log excerpt (debug) if the generation step still fails after a successful import.

    1. Enable debugging in Settings --> System Settings --> Logging

    2. copy and paste the following into SSH:

    Shell session
    grep -i "service.wireguard.manager" /storage/.kodi/temp/kodi.log | pastebinit

    3. And post that URL here.


    Cheers,
    Doemela.