petepots
Posts: 64
Joined: Mon Sep 08, 2014 9:19 am
Location: Surrey, UK

Could this be made to work VyprVPN

Tue May 16, 2017 11:30 am

Guys

Could this be made to work, I use VyprVPN and connot find anything about it working on a Raspbery Pi

https://support.goldenfrog.com/hc/en-us ... ux-Ubuntu-

What does not work is this:
sudo service network-manager restart

Will it work???

NotRequired
Posts: 262
Joined: Sat Apr 29, 2017 10:36 am
Location: Denmark

Re: Could this be made to work VyprVPN

Tue May 16, 2017 11:49 am

The Vypr app will not work on Raspbian. You need to manually set up the config files from here: https://support.goldenfrog.com/hc/en-us ... VPN-files-
Glowing in the dark!

petepots
Posts: 64
Joined: Mon Sep 08, 2014 9:19 am
Location: Surrey, UK

Re: Could this be made to work VyprVPN

Tue May 16, 2017 12:28 pm

Thanks

You would of thought that Golden Frog would of written a step-by-step instuctions on how to do that.

Thank you anyway, dont know what to do now, study I guess

NotRequired
Posts: 262
Joined: Sat Apr 29, 2017 10:36 am
Location: Denmark

Re: Could this be made to work VyprVPN

Tue May 16, 2017 1:05 pm

There is a guide for manual setup through the GUI here: https://support.goldenfrog.com/hc/en-us ... ux-Ubuntu- It is not very hard :)
Glowing in the dark!

petepots
Posts: 64
Joined: Mon Sep 08, 2014 9:19 am
Location: Surrey, UK

Re: Could this be made to work VyprVPN

Tue May 16, 2017 3:47 pm

Yes all ok upto here:

sudo service network-manager restart

thats the bit that wont run on Jessie

NotRequired
Posts: 262
Joined: Sat Apr 29, 2017 10:36 am
Location: Denmark

Re: Could this be made to work VyprVPN

Tue May 16, 2017 5:15 pm

You can simply reboot the pi - it will restart the network manager. Or you could try: "sudo systemctl restart network-manager" :)
Glowing in the dark!

petepots
Posts: 64
Joined: Mon Sep 08, 2014 9:19 am
Location: Surrey, UK

Re: Could this be made to work VyprVPN

Tue May 16, 2017 6:08 pm

Thank you very much for helping me, I do understand, as I did reboot. besides to being about to use that command, the next part should bring up a dialog box, To be honest from here I am stuck and I am so close to the end

Configure the OpenVPN connection by opening Network Connections. You can locate this by using the Ubuntu search feature.

Please could you look at part 6, you will understand what I mean

https://support.goldenfrog.com/hc/en-us ... ux-Ubuntu-

NotRequired
Posts: 262
Joined: Sat Apr 29, 2017 10:36 am
Location: Denmark

Re: Could this be made to work VyprVPN

Tue May 16, 2017 6:58 pm

Click the network icon in the task bar.. https://a.fsdn.com/con/app/proj/debian- ... less.jpg/1
Glowing in the dark!

petepots
Posts: 64
Joined: Mon Sep 08, 2014 9:19 am
Location: Surrey, UK

Re: Could this be made to work VyprVPN

Wed May 17, 2017 10:33 am

Thanks again, my system does not show that I have (see beow)
I am only using rj45 and no wireless. If I click on the up and down arrows its says "No wireless network found"

Image

I will keep trying, I am cross at Golden Frog becuse they have written setup files for all other platform except Raspberry pi

Thank you for your help

NotRequired
Posts: 262
Joined: Sat Apr 29, 2017 10:36 am
Location: Denmark

Re: Could this be made to work VyprVPN

Wed May 17, 2017 12:59 pm

You should be able to find your network settings in the main menu. You could also just extract one of the config files from the arhive linked to above and run the command "sudo openvpn /path/to/config.ovpn" and see if it works.
Glowing in the dark!

petepots
Posts: 64
Joined: Mon Sep 08, 2014 9:19 am
Location: Surrey, UK

Re: Could this be made to work VyprVPN

Thu May 18, 2017 10:50 am

Sorry my friend I just cannot fine network setting anyware
So I have no back to a clean install using Jessis latest version and all is working fine. Now I want to do this:

Code: Select all

sudo apt-get install -y network-manager-openvpn network-manager-openvpn-gnome
That works no errors, then

Code: Select all

sudo service network-manager restart
I rebooted as you suggested that does not work, I also tried your idea, that did not work either
Then I did

Code: Select all

sudo wget https://support.goldenfrog.com/hc/article_attachments/212052287/ca.vyprvpn.com.crt /etc/openvpn
That worked. but but there is no panel for me to configer as you see in the url
https://support.goldenfrog.com/hc/en-us ... ux-Ubuntu-
Cant work this one out, guess keep going at it

NotRequired
Posts: 262
Joined: Sat Apr 29, 2017 10:36 am
Location: Denmark

Re: Could this be made to work VyprVPN

Thu May 18, 2017 12:43 pm

In a terminal pleasy try to execute these commands: "sudo systemctl enable NetworkManager" and then "sudo systemctl restart NetworkManager" and see if anything changes.
Glowing in the dark!

petepots
Posts: 64
Joined: Mon Sep 08, 2014 9:19 am
Location: Surrey, UK

Re: Could this be made to work VyprVPN

Thu May 18, 2017 1:36 pm

Sorry, I get no file or directory found
Image

NotRequired
Posts: 262
Joined: Sat Apr 29, 2017 10:36 am
Location: Denmark

Re: Could this be made to work VyprVPN

Thu May 18, 2017 2:20 pm

I give up helping you with the GUI network manager. Try to download the archive with config files from here:

https://support.goldenfrog.com/hc/en-us ... VPN-files-

Extract the file for the server you would like to use to the folder "/home/pi/". Now in a terminal try to run the command: "openvpn ~/Country.ovpn" (replace "Country" with the correct file name). You should now be asked to specify your credentials and after this the VPN tunnel should be opened, yes?
Glowing in the dark!

petepots
Posts: 64
Joined: Mon Sep 08, 2014 9:19 am
Location: Surrey, UK

Re: Could this be made to work VyprVPN

Thu May 18, 2017 2:25 pm

I will try that and let you know. I am very greatful for all of your help, it's very much appreciated

petepots
Posts: 64
Joined: Mon Sep 08, 2014 9:19 am
Location: Surrey, UK

Re: Could this be made to work VyprVPN

Fri May 19, 2017 11:41 am

Thank you all I needed to do was a
sudo openvpn ~/Country.ovpn
also I needed to open port 1194

What I will do is to get it to start when I fire up the Pi

I will finish the thread with a complete script of what I did to help others, but a big thank you to you NotRequired, without your help I could not of got it to work

NotRequired
Posts: 262
Joined: Sat Apr 29, 2017 10:36 am
Location: Denmark

Re: Could this be made to work VyprVPN

Fri May 19, 2017 11:49 am

First you need to make it possible to launch your VPN connection without typing credentials. Create a file named "~/vpncred.txt" and enter two lines to it. First line is your vpn-username and second line is your vpn-password. After this, open "~/Belgium.ovpn" in an editor and change the line "auth-user-pass" to "auth-user-pass vpncred.txt". Try to start openvpn again with "sudo openvpn ~/Belgium.ovpn" and ensure that it works without asking for credentials..
Glowing in the dark!

petepots
Posts: 64
Joined: Mon Sep 08, 2014 9:19 am
Location: Surrey, UK

Re: Could this be made to work VyprVPN

Mon May 22, 2017 10:38 am

Its working, big thank you to NotRequired for his/her time in guiding me though to get this to work. I am sure the code could be tidied up but I am hoping to put this on VyprVPN (Golden frog) forum and should encourage to get them to write a program that will have a choise of country and speeds etc.

Make a note of your current ip address
wget http://ipecho.net/plain -O - -q ; echo

sudo apt-get install openvpn -y

sudo reboot

cd /etc/openvpn

sudo wget https://support.goldenfrog.com/hc/artic ... pn.com.crt /etc/openvpn

sudo wget https://support.goldenfrog.com/hc/artic ... 142016.zip

sudo unzip OpenVPN256.zip

ls

You now have two directorys OpenVPN160 and OpenVPN256 Differant levels of encryption I have used 2048 level Belgium

This code will save you putting in your details every time you load the program
sudo nano /etc/openvpn/vpncred.txt
enter username
password

Now open the ovpn file you have chosen
sudo nano /etc/openvpn/OpenVPN256/Belgium.ovpn
change below to:
auth-user-pass vpncred.txt
save

to start:
sudo openvpn /etc/openvpn/OpenVPN256/Belgium.ovpn

to stop
^C

To test the ip address has changed, open a new windows and run
wget http://ipecho.net/plain -O - -q ; echo

NotRequired
Posts: 262
Joined: Sat Apr 29, 2017 10:36 am
Location: Denmark

Re: Could this be made to work VyprVPN

Mon May 22, 2017 11:49 am

A couple of notes.. You do not have to copy the "ca.vyprvpn.com.crt" to /etc/openvpn - the certificate is (aparently) embedded in all the *.ovpn files. Also, if you want to start your vpn client as a service at boot, you must follow these steps:

sudo cp Belgium.ovpn /etc/openvpn/vyprvpn.conf
sudo systemctl stop openvpn
sudo systemctl disable openvpn
sudo systemctl enable openvpn@vyprvpn
sudo systemctl start openvpn

Now openvpn will use /etc/openvpn/vyprvpn.conf as default config script during boot. Please note that the /etc/openvpn/vpncred.txt must exist and have the login credentials and the line "auth-user-pass vpncred.txt" must exist in /etc/openvpn/vyprvpn.conf

And a litte goldie is that if you want to change vpn-server to Germany (or whatever), you must simply modify the "auth-user-pass" line in Germany.ovpn to reference vpncred.txt and run the commands:

sudo cp Germany.ovpn /etc/openvpn/vyprvpn.conf
sudo systemctl restart openvpn

Simple stuff :)
Glowing in the dark!

petepots
Posts: 64
Joined: Mon Sep 08, 2014 9:19 am
Location: Surrey, UK

VyprVPN on Raspbery Pi [SOLVED]

Mon May 22, 2017 2:58 pm

Thank you my friend NotRequired for all your help,

If VyprVPN send me a large amount of money for all your time I will send if off to you. I cant see them doing that but you never know.

Where would we be without kind help and time from some great people

Return to “General discussion”