Why is IVPN agent daemon always running?

    The IVPN client software has a client-server architecture. The IVPN agent runs as a daemon and is responsible for establishing connections, spawning OpenVPN processes etc. whilst the client UI that you interact with is a separate component that communicates with the agent.

    There are a couple of ways to change this behavior. First, in the app’s Preferences area, go to the General tab and put a check mark beside the Stop IVPN Agent when the application is not running.

    The other method has more of an impact on the performance of additional features in the app. In order to implement various security features such as the ‘always on’ firewall, it is important that the agent daemon is always running. This keepalive functionality is configured in the daemons plist file and can be modified to not be persistent by following the instructions below.

    Please note that by following the instructions below the always on firewall will no longer function correctly.
    1. Quit the IVPN client by clicking on the menu bar icon and selecting Quit IVPN.

    2. Stop the agent daemon.

      sudo launchctl unload net.ivpn.client.Helper.plist
    3. Edit /Library/LaunchDaemons/net.ivpn.client.Helper.plist and change the KeepAlive key to False.

    4. Start the agent daemon.

      sudo launchctl load net.ivpn.client.Helper.plist
    5. Start the IVPN client. When you next quit the IVPN client the IVPN agent daemon will also be killed.

    Related Articles

    Still have questions?

    Get in touch and we'll get back to you in a few hours.

    Contact support

    Interested in privacy?

    Read our latest privacy news and keep up-to-date on IVPN services.

    Visit IVPN Blog
    Spotted a mistake or have an idea on how to improve this page?
    Suggest an edit on GitHub.