• subscribe
  • twitter

How to Setup Open-Source UltraVPN in Ubuntu

Network Connections

In Windows its quite easy to setup a VPN (virtual private network) client like the open source UltraVPN client that is fully based on OpenVPN. In windows system it takes less than a minute to get UltraVPN up and running – time spent in downloading, installing and creating a UltraVPN account. In Ubuntu takes a few extra minutes and you might need a windows partition.
– VPNs become handy when you want connect to websites with geographically blocked contents, when you seek for a secured access to files and folders, or for some extra privacy etc etc. UltraVPN offers the necessary anonymity for home users.

Lets get started: If you haven’t installed any VPN protocol in your Ubuntu box, then you’ll notice that VPN tab in Preferences -> Network Connections has no enabled buttons. What we need here is the OpenVPN protocol.

Installing OpenPVN;
We need to install 2 packages; openvn and network-manager-openvpn. If you install the second, it will install the first as a dependency; sudo apt-get install network-manager-openvpn

Now we need the UltraVPN certificates. How to get one;
(Beg for one, buy it or steal it but don’t be caught.) If you have a windows partition, Windows PC or Windows as guest on VirtualBox like me then install UltraVPN, move to C:\Program Files\UltraVPN\config and copy these two files; client.ovpn and ca.crt, paste them into a newly created by-you “UltraVPN-Conf” folder in the Ubuntu home folder.

  • Rename the client.ovpn file to UltraVPN.conf
  • Rename the ca.crt file to UltraVPN.crt

The fastest way to obtain the UltraVPN certificates is to install UltraVPN in Ubuntu with WineHq. Download UltraVPN, right-click on it and run with Wine, then use the command-line to copy, paste and rename the needed files into the UltraVPN-Conf folder

cp ~/.wine/drive_c/Program\ Files/UltraVPN/config/client.ovpn ~/UltraVPN-Conf/UltraVPN.conf
cp ~/.wine/drive_c/Program\ Files/UltraVPN/config/ca.crt ~/UltraVPN-Conf/UltraVPN.crt

Your last chance; download the UltraVPN configuration package from from HERE and place it in your home folder.

Now move to System -> Preferences -> Network Connections, in the “VPN” tab, “Import” and select UltraVPN.conf. Fill-in user-name and password with your registered UltraVPN account.
Hit the “CA Certificate” filed and import the UltraPVN.crt

Editing UltraPVN

In the “IPv4 Settings” tab;
Method: Automatic (VPN) addresses only
DNS servers:, (which are OpenDNS servers)

In DNS severs, you can also use the new free DNS service called Google Public DNS, just drop-in the Google Public DNS IP addresses, separated by a space:,

Hit “Apply” and you’re ready to VPN with UltaVPN
Now left-click on the “network connections” on the top left of the screen -> VPN Connections -> UltraVPN (see screenshot below)

UltraVPN Connection

1) If you get the message “no valid network secrets” then restart your network connections with: sudo service network-manager restart (Thanks Baddwolff).
2) Spotify is not yet available in your country, from Italy you can use this walk-through.

UltraVPN client is a free download for Mac and Windows. It is released under GNU/GPL license


  1. Sismo
    2:33 pm on November 27th, 2009

    Worked, it went thru silently no bumps, thanks

  2. anonymous
    4:44 am on December 6th, 2009

    I’ve tried this multiple times, even reinstalled ubuntu and STILL can’t get it to work. Is the openDNS thing necessary?

  3. Martin Kaba
    10:21 am on December 6th, 2009

    @Anonymous: Nope OpenDNS is not necessary its optional. What’s not working…

  4. James
    11:16 am on December 24th, 2009

    Getting “no valid vpn secrets”

  5. Paul
    9:45 pm on January 13th, 2010

    The install exe is just an executable archive so rather than installing the exe via wine, you can open it with file roller (i.e. Archive Manager) and extract the files you need.

  6. LFooT
    12:51 pm on February 10th, 2010

    Where exactly should i insert those 2 files?
    do i have to create a folder: /home/UltraVPN-Conf/ and put 2 files in it?
    because if so, then i cannot, dont have permissions to create folder and files there :S

    i tried to paste them into /home/lfoot/UltraVPN-Conf/
    with that i manage to establish the connection but web does not load, it says connected but no internet. Could it be because i created files in a wrong place? if yes, then how to get permission to create in home?

  7. Baddwolff
    10:17 am on March 21st, 2010

    I was also getting the “no valid network secrets” error until I restarted the network connections: sudo service network-manager restart

  8. James
    8:01 pm on April 27th, 2010

    it didnt work for me.when i click connect vpn after some time a message came: vpn connect failed….. requested time out

    what to do?

  9. cicook
    12:36 am on July 15th, 2010

    Does not work for me. I tried several times, I get an error that says UltraVPN failed because VPN service did not start. I can generate the following two errors (usually I get the timed-out error):

    The VPN Connection “UltraVPN” failed because the VPN service failed to start.

    The VPN connection “UltraVPN” failed because the connection attempt timed out.

    I’m probably doing something obviously wrong. Any help would be appreciated.

  10. Rajesh
    7:41 am on August 23rd, 2010

    thanks it worked perfectly.But there is one problen it routes all my connections to vpn server but i don’t want that .So how to add ip exception plz tell me