Jump to content
Not connected, Your IP: 18.204.227.117
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.


» I am not an AirVPN team member. All opinions are my own and are not to be considered official. Only the AirVPN Staff account should be viewed as such.

» The forums is a place where you can ask questions to the community. You are not entitled to guaranteed answer times. Answer quality may vary, too. If you need professional support, please create tickets.

» If you're new, take some time to read LZ1's New User Guide to AirVPN. On questions, use the search function first. On errors, search for the error message instead.

» If you choose to create a new thread, keep in mind that we don't know your setup. Give info about it. Never forget the OpenVPN logs or, for Eddie, the support file (Logs > lifebelt icon).

» The community kindly asks you to not set up Tor exit relays when connected to AirVPN. Their IP addresses are subject to restrictions and these are relayed to all users of the affected servers.

 

» Furthermore, I propose that your paranoia is to be destroyed. If you overdo privacy, chances are you will be unique amond the mass again.

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.


» I am not an AirVPN team member. All opinions are my own and are not to be considered official. Only the AirVPN Staff account should be viewed as such.

» The forums is a place where you can ask questions to the community. You are not entitled to guaranteed answer times. Answer quality may vary, too. If you need professional support, please create tickets.

» If you're new, take some time to read LZ1's New User Guide to AirVPN. On questions, use the search function first. On errors, search for the error message instead.

» If you choose to create a new thread, keep in mind that we don't know your setup. Give info about it. Never forget the OpenVPN logs or, for Eddie, the support file (Logs > lifebelt icon).

» The community kindly asks you to not set up Tor exit relays when connected to AirVPN. Their IP addresses are subject to restrictions and these are relayed to all users of the affected servers.

 

» Furthermore, I propose that your paranoia is to be destroyed. If you overdo privacy, chances are you will be unique amond the mass again.

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


» I am not an AirVPN team member. All opinions are my own and are not to be considered official. Only the AirVPN Staff account should be viewed as such.

» The forums is a place where you can ask questions to the community. You are not entitled to guaranteed answer times. Answer quality may vary, too. If you need professional support, please create tickets.

» If you're new, take some time to read LZ1's New User Guide to AirVPN. On questions, use the search function first. On errors, search for the error message instead.

» If you choose to create a new thread, keep in mind that we don't know your setup. Give info about it. Never forget the OpenVPN logs or, for Eddie, the support file (Logs > lifebelt icon).

» The community kindly asks you to not set up Tor exit relays when connected to AirVPN. Their IP addresses are subject to restrictions and these are relayed to all users of the affected servers.

 

» Furthermore, I propose that your paranoia is to be destroyed. If you overdo privacy, chances are you will be unique amond the mass again.

Share this post


Link to post

That's really cognitive information to know about such a indomitable and concrete stuffs. I stolidly respect that effort and hope to keep the good work as same as always.

Share this post


Link to post
Guest
This topic is now closed to further replies.

×
×
  • Create New...