Jump to content


Photo

Shutdown AirVPN - Ubuntu


  • Please log in to reply
No replies to this topic

#1 dL4l7dY6

dL4l7dY6

    Newbie

  • New Members
  • Pip
  • 1 posts

Posted 16 February 2018 - 09:42 AM

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







Similar Topics Collapse

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Servers online. Online Sessions: 14942 - BW: 52162 Mbit/sYour IP: 54.198.55.167Guest Access.