Jump to content
Not connected, Your IP:

Using AirVPN with Linux from Terminal

Recommended Posts

  • Download your configuration file from the page Config Generator.

    If you don't already have the OpenVPN package installed in your system, you can tick Advanced Mode and tick Bundle executable (only for x86/amd64 based systems).

  • Have a look here to take care of DNS push (OpenVPN will not do that for you by default): https://airvpn.org/topic/9608-how-to-accept-dns-push-on-linux-systems-with-resolvconf/
  • Open a terminal console, reach the directory where you stored the files generated by the Configuration Generator and launch
    sudo openvpn foo.ovpn
    if you already have installed the OpenVPN package, or
    sudo ./openvpn foo.ovpn
    if you have downloaded our bundled executable.


    foo.ovpn is any *.ovpn files generated by the Config Generator. In the example we report "sudo" to run OpenVPN with root privileges. In some systems you might not have "sudo" available, or your account might be not included in the "sudo-ers". In these cases, you just need to run a terminal as root, or become root with "su" command.

Share this post

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

  • Create New...