I've got OpenWrt 19.07.2 and Wireguard installed on a old router which operates as a switch behind my ISP router.
I can ping both ways between a peer and the switch via the Wireguard tunnel, but I do not seem to get the settings correct to ping from the peer to devices connected to the switch.
Thanks both for your prompt reply. I thought I the WireGuard protocol could do without a static route by using the 'allowed addresses'. I've got it working now. Thank you both!
I'll read up some more on this protocol.