Krassegrand
Posts: 105
Joined: Sat Apr 25, 2015 3:20 pm
Location: Halmstad Sweden

Unblock vpn

Thu May 07, 2015 7:03 pm

Is it possible to install Unblock VPN on Rasbian?
I know how to do on Ubuntu but I can't find the icon for internet connection on my Rasbian.

Jörgen

Krassegrand
Posts: 105
Joined: Sat Apr 25, 2015 3:20 pm
Location: Halmstad Sweden

Re: Unblock vpn

Tue May 12, 2015 2:06 pm

Is it necessary to install openvpn to make unblockvpn work?
I have an account with unblock and in Ubuntu I have set up different nodes but I cant find how to do it in Raspbiaan.
I have found guides for setting up servers with openvpn but it seems a little more advanced than what I need.
Is there a way to set up the network like I have done in Ubuntu?
I have also found a lot of guides for WIFI but they don't seems to address my problem, am I right?
I would be ok (I think) to have the unblock vpn on at all time if it is not an option to choose it from the dask top.

Jörgen

Krassegrand
Posts: 105
Joined: Sat Apr 25, 2015 3:20 pm
Location: Halmstad Sweden

Re: Unblock vpn

Tue May 12, 2015 4:11 pm

Can I use this command to set a IP address that virtually places me in an other geographical place?

Code: Select all

raspivid -t 999999 -o – | nc [insert the IP address of the client] 5001
That could be a solution in stead of unblockvpn.

Jörgen

Edit
And how do I revert to original settings?

Krassegrand
Posts: 105
Joined: Sat Apr 25, 2015 3:20 pm
Location: Halmstad Sweden

Re: Unblock vpn

Wed May 13, 2015 7:00 am

Could this be a solution?

Setting up a second IP address or Virtual IP address

If you need to set up a second ip address you need to edit the /etc/network/interfaces.

sudo vi /etc/network/interfaces

auto eth0:1
iface eth0:1 inet static
address 192.168.1.24
netmask 255.255.255.0
network 192.168.1.1
broadcast 192.168.1.255
gateway 192.168.1.1

For these new settings to take effect you need to restart networking services using the following command

sudo /etc/init.d/networking restart


Jörgen

PS
I have no idea what this does.
Does it go back to original setting after restart?

djme4u
Posts: 1
Joined: Wed May 13, 2015 8:01 am

Re: Unblock vpn

Wed May 13, 2015 8:04 am

RSS is the same VP
http://www.ijcsse.org

Krassegrand
Posts: 105
Joined: Sat Apr 25, 2015 3:20 pm
Location: Halmstad Sweden

Re: Unblock vpn

Wed May 13, 2015 11:36 am

:?:

Krassegrand
Posts: 105
Joined: Sat Apr 25, 2015 3:20 pm
Location: Halmstad Sweden

Re: Unblock vpn

Wed May 27, 2015 6:21 pm

I decide to install openvpn and use my account at unblockvpn.
That is working!
Now I would like to have an icon on the desktop to double click to start my VPN.

I can do like this
i@raspberrypi ~ $ cd unblockvpn
pi@raspberrypi ~/unblockvpn $ sudo openvpn --config eu11_united_kingdom.ovpn

That starts the VPN.
and pwd gives
pi@raspberrypi ~/unblockvpn $ pwd
/home/pi/unblockvpn
from the folder with eu11_united_kingdom.ovpn

That makes me believe that the full command to be used from anywhere is

/home/pi/unblockvpn/sudo openvpn --config eu11_united_kingdom.ovpn

What am I doing wrong?

i@raspberrypi ~/unblockvpn $ /home/pi/unblockvpn/sudo openvpn --config eu11_united_kingdom.ovpn
bash: /home/pi/unblockvpn/sudo: No such file or directory
pi@raspberrypi ~/unblockvpn $


Jörgen

User avatar
kusti8
Posts: 3439
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: Unblock vpn

Wed May 27, 2015 7:30 pm

You need to do:
sudo /home/pi/unblockvpn/openvpn --config eu11_united_kingdom.ovpn

Because bash thinks that a program named sudo is there that accepts arguments.
There are 10 types of people: those who understand binary and those who don't.

Krassegrand
Posts: 105
Joined: Sat Apr 25, 2015 3:20 pm
Location: Halmstad Sweden

Re: Unblock vpn

Thu May 28, 2015 6:03 am

Thank You!
I will try that when I get home!

Jörgen

Krassegrand
Posts: 105
Joined: Sat Apr 25, 2015 3:20 pm
Location: Halmstad Sweden

Re: Unblock vpn

Thu May 28, 2015 3:50 pm

pi@raspberrypi ~ $ sudo /home/pi/unblockvpn/openvpn --config eu11_united_kingdom.ovpn
sudo: /home/pi/unblockvpn/openvpn: command not found
pi@raspberrypi ~ $

Why does it not work?????

Jörgen

Return to “Beginners”