Has anybody tried to install Wireguard?

After October update to Buster on PI3B+ and the mandantory wireguard-dkms update with kernel header for 4.19.122-2-osmc wg-quick and service aborted with error:

[#] iptables -A FORWARD -i wg0 -j ACCEPT; iptables -A FORWARD -o wg0 -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
iptables: Invalid argument. Run `dmesg’ for more information.

Solution was the same like https://discourse.osmc.tv/t/netfilter-persistent-problem-after-upgrade-to-buster/87226

Change iptables configuration to (1) iptables-legacy

osmc@piosmc:/$ sudo update-alternatives --config iptables
There are 2 choices for the alternative iptables (providing /usr/sbin/iptables).

Selection Path Priority Status

  • 0 /usr/sbin/iptables-nft 20 auto mode
    1 /usr/sbin/iptables-legacy 10 manual mode
    2 /usr/sbin/iptables-nft 20 manual mode

Press to keep the current choice[*], or type selection number: 1
update-alternatives: using /usr/sbin/iptables-legacy to provide /usr/sbin/iptables (iptables) in manual mode

Now my wireguard server is up agein :slight_smile: