I now believe the dmesg complaint in my last comment to be a separate issue. A fix for it was backported to systemd v238 in this commit:
https://github.com/systemd/systemd- stable/commit/7db3fe08c5eb83584f3a3d356876b4acaa797585#diff- f29d1bfc98e548dc0eb497c3d17cbefa It was not backported to systemd v237: https://github.com/systemd/systemd- stable/commits/v237-stable/src/network/netdev/wireguard.c -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1853956 Title: 34 wireguard peers result in invalid peer configuration To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1853956/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs