Push notifications not working when using WireGuard

Hi,

I am trying to get push notifications working while using Wireguard (a VPN) so that I don’t have to expose HA to the web.

Notifications arrive successfully on my phone when Wireguard is NOT running on my phone, but they don’t when Wireguard is active.

Has anybody gotten this to work? If not, can anybody tell me how these push notifications exactly work so that I can backtrace why this doesn’t work.

When Wireguard is active I can use HA just fine, also when not at home so I am not sure how to debug this.

Thanks for any help!

FCM requires a server to process notifications for your device, more info: https://companion.home-assistant.io/docs/notifications/notification-details

code for that server is: https://github.com/home-assistant/mobile-apps-fcm-push

Seems like the kernel module I was using wasn’t doing what it was supposed to do. Using the user space wireguard works as expected. Thanks for the help!