Jump to content


Using AirVPN with Linux from Terminal

linux terminal

  • This topic is locked This topic is locked
No replies to this topic

#1 Staff


    Advanced Member

  • Staff
  • PipPipPip
  • 7789 posts

Posted 23 April 2014 - 11:13 AM

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

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Servers online. Online Sessions: 14475 - BW: 63957 Mbit/sYour IP: Access.