5
Alert on no VPN handshake (self.selfhosted)
submitted 6 months ago* (last edited 6 months ago) by Dust0741 to c/selfhosted

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?

top 8 comments
sorted by: hot top controversial new old
[-] [email protected] 3 points 6 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.

[-] [email protected] 1 points 6 months ago* (last edited 6 months ago)

--- incorrect statement removed

[-] myogg 1 points 6 months ago

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

[-] [email protected] 5 points 6 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] 2 points 6 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] 1 points 6 months ago* (last edited 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]

[-] Dust0741 1 points 6 months ago* (last edited 5 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.

[-] [email protected] 1 points 6 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.

this post was submitted on 22 Nov 2023
5 points (77.8% liked)

Selfhosted

37001 readers
339 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 11 months ago
MODERATORS