Jump to content
Not connected, Your IP: 54.198.45.0
Sign in to follow this  
dL4l7dY6

Shutdown AirVPN - Ubuntu

Recommended Posts

Hi,

 

I've been experimenting with AirVPN over the last the days and am now quite satisfied with how it working (after a few false starts).

 

I'm running an Ubuntu 16.04 LTS VirtualBox VM (on top of a Ubuntu 16.04 LTS host). The host is primarily there to run Plex and I couldn't figure out a way to get Plex to run outside the VPN so downloaders in a VM seemed the best solution. The VM also runs a proxy to allow my Windoes desktop to connect out via the tunnel.

 

AirVPN gets started using the @reboot sudo clause in my own crontab so is basically running in the background as root. 

 

 

me       1271  1114  0 09:04 ?        00:00:00 /bin/sh -c sudo airvpn --cli --connect >>  /tmp/airvpn.log 2>&1
root      1275  1271  0 09:04 ?        00:00:00 sudo airvpn --cli --connect
root      1387  1275  0 09:04 ?        00:00:00 /bin/bash /usr/bin/airvpn --cli --connect
root      1390  1387  0 09:04 ?        00:00:03 mono /usr/lib/AirVPN/AirVPN.exe --path=/home/me/.airvpn --cli --connect
root      1781  1390  0 09:05 ?        00:00:10 /usr/sbin/openvpn --config /home/me/.airvpn/f5cf44fc92e8492acd5262160693fdbafb0b3319e78739756995b1f58752b675.tmp.ovpn

 

 

If I just kill the processes then /etc/resolve.conf doesn't get restored to its default value, although I can manually restore it.

 

So, the problem I have is how to shut down AirVPN gracefully? Is there a signal I can send the Mono app or is there a shutdown type command?

 

Thanks

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...