Posts by clriis
-
-
I've been trying to connect my LibreELEC RPi to Mullvad through WireGuard but is somehow defeated. After reading older posts I gathered that the "connman" configuration utility is a work in progress and disabled it for wg0 in order to use standard WireGuard configuration.
The connection info I get from Mullvad looks like this:
Code[Interface] PrivateKey = SP+xWEQJEz/qmowAsMcvdirOM+zUoIhMO1Pq5GRjAVc= Address = 10.67.246.80/32,fc00:bbbb:bbbb:bb01::4:f64f/128 DNS = 100.64.0.3 [Peer] PublicKey = dEtwYUFPV0pF7MWJpzo+AixB2CdEIXxBQcQg1ljQkVo= AllowedIPs = 0.0.0.0/0,::0/0 Endpoint = 198.54.128.82:51820
Then I implemented the guidelines given by ninze : RE: wireguard troubleshooting : no reply
My config files look like this:
system.d/wg0.service:
Code
Display More[Unit] Description=start wireguard interface Requires=network-online.service After=time-sync.target Before=kodi.service [Service] Type=oneshot RemainAfterExit=true StandardOutput=journal ExecStart=ip link add dev wg0 type wireguard ExecStart=ip address add dev wg0 10.67.246.80/32 ExecStart=wg setconf wg0 /storage/.config/wireguard/wg0.conf ExecStart=ip link set up dev wg0 ExecStop=ip link set down dev wg0 ExecStop=ip address del dev wg0 10.67.246.80/32 ExecStop=ip link del dev wg0 [Install] WantedBy=multi-user.target
wireguard/wg0.conf
Code[Interface] ListenPort = 51820 PrivateKey = SP+xWEQJEz/qmowAsMcvdirOM+zUoIhMO1Pq5GRjAVc= DNS = 100.64.0.3 [Peer] PublicKey = MRZsEblqO4wlq0WPnZgp5X9ex4Z2FHm9bljO/a/Mznk= AllowedIPs = 0.0.0.0/0 Endpoint = 68.235.43.82:51820
When starting wg0 i get an error and <systemctl status wg0> shows this: