WireGuard VPN Manager

  • The Libreelec info shows only the local network IP, the IP shown in WireGuard app is the IP from the server it connected to.

    In terminal (ssh) you can do:

    Bash
    curl http://ip-api.com | grep country

    This tells the country / region you connected to.

  • Just for fun I tried a different locale and VIOLA. PIA -US West streaming optimized connected with normal traffic. I tried another silicone valley and no traffic. Very odd.

  • That is a known issue with PIA. Dynamic, load-balanced auto-regions frequently establish a local connection link but fail to route internet traffic due to two infrastructure conflicts:

    • Virtual IP Assignment Conflict: These regions often enforce a static fallback placeholder (WireGuard.Address = 10.0.0.1/32). When ConnMan mounts this address locally, it conflicts directly with the remote server's internal gateway path. This confuses local routing tables and locks traffic into an infinite loop.
    • Un-Synchronized Gateway Balancers: Front-end balancers accept the cryptographic public key handshake and report a valid interface link status. However, they fail to sync the authentication session instantly down to the backend nodes handling live traffic. The local system brings up the wg0 interface, but the backend server drops data packets, resulting instantly network timeout.

    WireGuard Provider Architecture & Video Mapping Constraints


    But for the rest you can connect?


    Salute.

  • Good info to know. I would change to Nord but have a three year commitment to PIA as price is great and I've had no issues other than LE updates to latest security. Been using PIA for years on all my devices and never experienced any problems so WG seems a logical solution to keep LE alive on my PIs. Hope you can iron out some of these issues and anything you need I'm willing to test.

  • https://paste.libreelec.tv/nephrotoxic-derrick.log

    I tested 3 locations and only one had traffic US West optimized. Might be useful to auto update/Regenerate locations after a change.

    First do:

    Bash
    rm -f /tmp/pia_token_cache.json /tmp/pia_name_map.json

    To get rid of "2026-05-30 23:50:13.420 T:1372 error <general>: service.wireguard.manager v1.4.6~beta.4: Password decoding failed, using raw password: 'utf-8' codec can't decode byte 0xe0 in position 2: invalid continuation byte"


    On every connection, the add-on gets all data live from PIA API to request local server WireGuard configurations before handing control over to ConnMan. This auto-update/Regenerate locations on every new connection. What does

    Bash
    curl http://ip-api.com | grep country

    say about the connection?

  • Code
    - We are not fans of discussion on VPN services used to hide piracy or bypass geolocking
    - User accounts posting VPN service recommendations will be deleted without warning

    Doemela I have removed one of your posts as it contained direct links to VPN services providers and read like an advertorial post endorsing a service. There is no problem to support your addon here as long as threads/posts focus on technical issues and remain aligned with forum rules, thank you.

  • Hi,

    As my OpenVPN with Proton just stopped to work yesterday I needed to see if I could use wireguard. Can i just load an Wireguard from Proton and it should be able to connect or is it not supported yet ?

  • Hi,

    As my OpenVPN with Proton just stopped to work yesterday I needed to see if I could use wireguard. Can i just load an Wireguard from Proton and it should be able to connect or is it not supported yet ?

    Yes if you make/download a wireguard config name it like country.config you can import it in the add-on make sure the begin of the file is:

    [provider_wireguard]
    Type = WireGuard
    Name = Custom_Country

    Rest of Proton wireguard conf...


    Salute.

  • OK, I thought something like it was missing!

    I only have routing issues with wireguard; normally no issues on other systems. Have you experienced this ?


    Thanks so far; maybe this needs to be added to your Wiki including the config template ?