Jump to content
Not connected, Your IP: 3.21.21.209
Sign in to follow this  
parker81

applescript turns off application(s) if VPN fails

Recommended Posts

I'm wondering if anyone has created an applescript that quits specific applications if airvpn dissconnects?

I've seen this posted in other forums and it looks like a simple workaround to disconnect specific applications without having to configure your IPFW to block all non-VPN traffic. I'd like to try to create on myself but I want to make sure that airvpn's network interface is tun0 before I do - can someone confirm that?

Thanks.

Share this post


Link to post

I'm wondering if anyone has created an applescript that quits specific applications if airvpn dissconnects?

I've seen this posted in other forums and it looks like a simple workaround to disconnect specific applications without having to configure your IPFW to block all non-VPN traffic. I'd like to try to create on myself but I want to make sure that airvpn's network interface is tun0 before I do - can someone confirm that?

Thanks.

Hello!

We confirm that our setup uses a TUN interface (routed VPN), not a TAP one (not bridged VPN). The name of the interface can vary according to your system setup, by default anyway it's tun0.

When writing such an application, the key problems to consider are the time between disconnection detection and applications kills or disconnection. We have seen some utilities for which such time is enough to potentially allow leaks. If you opt for application kill, another consideration is the "violence" of the technique, which potentially may result in lost or corrupted data.

Kind regards

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
Sign in to follow this  

×
×
  • Create New...