Dietpi 8.2.2 Wireguard doesn't start after reboot

There was a similiar issue here:

What made me curious is
net.ipv4.conf.$(ip r l 0/0 | mawk ‘{print $5;exit}’).forwarding=1
and
sysctl: separators should not be repeated: …forwarding
and
ysctl: cannot stat /proc/sys/net/ipv4/conf//forwarding: No such file or directory
This directory doesn’t exist too on my working configuration.
And Exit code 2 signifies invalid usage of some shell built-in command. Maybe there’s a typo somewhere in your config?
IDK what is done in the background when updating dietpi (maybe some storage of the config and after update try to restore it, where could be a bug?)

I would try to recheck the config of wireguard OR for debug reasons (if the updater did such things I suggested), re-install wireguard and reconfigure it (maybe you save your existing keys somewhere so you don’t have to re-setup your clients)

Just thougts of a interested noob :slight_smile: