Jump to content
Not connected, Your IP: 54.86.132.30
chewy74

[Request] connection status app

Recommended Posts

Is it possible to make an app that will send an alert to your your phone, when your VPN connection has been disconnected? 

I use airvpn on my Raspberry Pi 3 and want to be alerted on my phone whenever it loses VPN connection. It seems doable, but I have no coding experience... 

I think this would be a useful tool to have 

Share this post


Link to post

I think the easiest solution would be to send a mail with Linux commands which then will trigger a notification on your phone from the mail app.


Four simple things:
There's a guide to AirVPN. Before you ask questions, take 30 minutes of your time to go through it.

Amazon IPs are not dangerous here. It's the fallback DNS.
Running TOR exits is discouraged. They're subject to restrictions on the internet and harm all AirVPN users.

Furthermore, I propose that your paranoia is to be destroyed. If you overdo privacy, you'll be unique among the mass again.

 

XMPP: gigan3rd@xmpp.airvpn.org or join our lounge@conference.xmpp.airvpn.org

Share this post


Link to post
On 5/27/2019 at 3:22 PM, giganerd said:

I think the easiest solution would be to send a mail with Linux commands which then will trigger a notification on your phone from the mail app.

Not really sure how to do that... 😐

Share this post


Link to post

Thinking about it, you need a mail server in your local network which still has internet connectivity, preferably on your ISP line. Unless you only want to be notified if you're home.
If the VPN connection fails, there is no way for the RasPi to send it outside the local network, so it must be somewhere in your network. Now, if you happen to have a consumer-grade NAS like Synology or QNAP where it's possible to configure such a mail server, this might be the way to go.

An Android notification still involves having something in your network because, once again, you will have no internet on the RasPi. In this case, it will be a push message server, the installation of which will be much more involved.


Four simple things:
There's a guide to AirVPN. Before you ask questions, take 30 minutes of your time to go through it.

Amazon IPs are not dangerous here. It's the fallback DNS.
Running TOR exits is discouraged. They're subject to restrictions on the internet and harm all AirVPN users.

Furthermore, I propose that your paranoia is to be destroyed. If you overdo privacy, you'll be unique among the mass again.

 

XMPP: gigan3rd@xmpp.airvpn.org or join our lounge@conference.xmpp.airvpn.org

Share this post


Link to post

I don't own synology or QNAP.  I would think the feature could be added to the Eddie client app, and when a connection is lost it sends a push notification to the app. 

This is just an alert... No kill switch involved 

Share this post


Link to post

Okay, in the case of Eddie and a disabled NetLock on it it could work. It would require a push message server operated by Air, and a client app for that specific server on your phone.
Also, Android 8+ heavily restricts background apps and the only service that works out of the box without a permanent notification is Firebase, which is included in the Play Services and is therefore a closed-source Google feature. Not impossible, but is it worth the effort to cater to such a niche request? Mail is much easier compared to this :D


Four simple things:
There's a guide to AirVPN. Before you ask questions, take 30 minutes of your time to go through it.

Amazon IPs are not dangerous here. It's the fallback DNS.
Running TOR exits is discouraged. They're subject to restrictions on the internet and harm all AirVPN users.

Furthermore, I propose that your paranoia is to be destroyed. If you overdo privacy, you'll be unique among the mass again.

 

XMPP: gigan3rd@xmpp.airvpn.org or join our lounge@conference.xmpp.airvpn.org

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image

×
×
  • Create New...