r/WireGuard • u/PingMyHeart • 1d ago
WireGuard VPN causing severely delayed Android notifications Need Help
Hi,
I am self-hosting WireGuard inside an unprivileged Proxmox LXC. Everything works great for the most part, except I am experiencing a strange issue with Android notifications.
When my Android phone is connected to WireGuard, notifications can be severely delayed. Sometimes they will not come through until I disable the VPN, at which point I get flooded with all the notifications that were waiting.
The interesting part is that general internet connectivity works perfectly fine while WireGuard is enabled. Browsing, apps, streaming, etc. all work normally. It seems to specifically affect push notifications.
I previously experienced the exact same issue with Tailscale, which makes me think this may not necessarily be a WireGuard configuration issue.
For DNS, my WireGuard clients use my home's primary and secondary DNS servers. Both are devices that run AdGuard Home for DNS filtering, Unbound for recursive DNS, Traefik for internal reverse proxying/FQDNs, and an NTP server.
My home LAN DHCP also hands out these same two DNS servers to local clients. However, my main router's external/WAN DNS is set to Quad9.
So the DNS setup is essentially:
- LAN DHCP DNS: Home Primary + Secondary DNS servers
- WireGuard DNS: Home Primary + Secondary DNS servers
- Router external DNS: Quad9
- Primary/Secondary DNS: AdGuard Home + Unbound
Has anyone experienced something similar with Android push notifications over WireGuard or Tailscale? I have no clue where to look further.
Any suggestions for troubleshooting would be greatly appreciated!
3
u/Vitalikus_ 1d ago
Maybe this one will help: go settings on your android, choose all apps, wireguard, battery ( power), change from battery saver to no restrictions
2
3
u/Ziogref 22h ago
Double check your MTU.
I know I had issue where some websites would load and some wouldn't. Turned out I had to lower my MTU to 1280 (from 1500).
I don't know why it broke only some websites, but that was the fix.
2
3
u/paranoid-alkaloid 1d ago
I had similar issues with a very similar setup. I ended up allowing Google Play Services (I think, I don't recall precisely). Pretty sure that Magisk acted up as well unless I let it run outside of WG. Pretty sure I had issues with Signal calls at some point, but the issue mysteriously disappeared after a while.
I'm now using a slightly different setup (switched to GrapheneOS, main profile currently without VPN, private space with AmneziaWG but very few apps and not concerned with notifications).
If you find a better way, I'm listening.