Re:Gotify – a self-hosted push-notifications service
by ktjfi on Saturday March 09, 2019 @07:40PM
(#19349497)
You can configure it locally in your kernel, but your ISP will most likely close your connections for you, especially if you're behind a CGNAT.
Re:Gotify – a self-hosted push-notifications service
by londons_explore on Sunday March 10, 2019 @12:43AM
(#19350558)
Even if you have native IPv6, some carriers do connection tracking anyway to prevent random port scans from the internet waking up your phone or trying various exploits.
https://www.tldp.org/HOWTO/TCP-Keepalive-HOWTO/usingkeepaliv...
I suspect the hard bit for normal apps is keeping the app active on the device while it is in the background. Google has their FCM receiver running as a low level service so can make sure it is always running.