Posts by binarysurfer

    Hi all,

    I'm looking to better understand how to configure a Wireguard vpn client on a RPi4 running LibreELEC 9.2.1.

    I've created a wg0.conf file in ~/.config/wireguard, but when I run wg setconf wg0 ~/.config/wireguard/wg0.conf I'm hit with

    Code
    Line unrecognized: `Address=xx.xx.xx.x/24'
    
    Configuration parsing error

    This is my wg0.conf:

    Code
    [Interface]
    PrivateKey = <private>
    Address = xxx.xxx.xxx.xxx/24 
    DNS =  xxx.xxx.xxx.xxx 
    
    [Peer]
    PublicKey = <private>
    PresharedKey = <private>
    AllowedIPs = 0.0.0.0/0,::/0
    Endpoint = xxx.xxx.xxx.xxx:51820

    My questions:

    - Is the .conf structure different for wg than for wg-quick? I'm using the .conf generated by my Algo wireguard server, but maybe I have to change something about the .conf file.


    - Is there a better way to manage these settings, possibly from within the LibreELEC/Kodi graphical interface?


    Thanks in advance for any help - your time is much appreciated.