I self host a wireguard VPN at my home. I use the official wireguard app to connect on my android.

Is there a way to be notified if my phone can’t complete a handshake in 10 minutes or something?


I thought of using uptime kuma to send me a telegram notification if I disappear, but in the case of a power outrage or internet outtage (only at home) then this would be useless.

Is there anything that can do this on my phone with minimal battery usage?

  • @[email protected]
    link
    fedilink
    English
    36 months ago

    Looks like you found a solution that works. Just wanted to mention that I use macros in Macrodroid and/or Tasker for these sort of things.

    For example, I have a macro set to HTTP GET my domain at 60 minute intervals as a up check.

  • SuperFola
    link
    fedilink
    English
    16 months ago

    This isn’t selfhosted but you can use uptime robot. They can send regular http get requests or ping an IP or URL, the free tier can have like 10 monitors I think? I receive an email when an host isn’t available, in 5 minutes usually.

  • @Dust0741OP
    link
    English
    1
    edit-2
    6 months ago

    Nock-nock seems to do this. Trying now

    Edit: it works great

    Edit: Nock-nock has a few too many false positives for me. Website monitor seems to be better.

    • @myogg
      link
      English
      16 months ago

      I just tried adding a native VPN and there’s no option to use Wireguard

      • Max-P
        link
        fedilink
        English
        56 months ago

        Same. Might be confused because the WireGuard app does integrate with the settings menu, but it still uses the app under the hood. In the case of WireGuard’s UI, it basically looks like a settings page, so when you go to Settings -> Network -> VPN -> WireGuard, it feels as if you never left settings.

        There’s basically no point baking WireGuard support in the ROM as you’ll just end up duplicating the WireGuard app anyway.

      • @[email protected]
        link
        fedilink
        English
        26 months ago

        Sorry, you’re right. It’s been so long that I’ve installed the app and always went via system settings that I’ve incorrectly assumed it was native.

  • @[email protected]B
    link
    fedilink
    English
    1
    edit-2
    6 months ago

    Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:

    Fewer Letters More Letters
    HTTP Hypertext Transfer Protocol, the Web
    IP Internet Protocol
    VPN Virtual Private Network

    [Thread #293 for this sub, first seen 22nd Nov 2023, 11:15] [FAQ] [Full list] [Contact] [Source code]