Articles Hierarchy

Articles Home » RPI » RPI and VPN


Raspberry 3 / with stretch and chromium mods
is now finally at a stage to use it for look movies...

but i hit 2 problems: some ?IP? are filtered / not available here,
my favorite TV stations allow internet live only:
-a- with a email registered login
-b- only send in its own country
well, it is a free sevice so they can make the rules, but sorry, both that rules are s...

what can i do?
i not care that it might not be so safe it is supposed to be, ( deep packet inspection.. )
as i not use it for illegal activities,
just to look ( my language ) TV from an other country
by VPN with a server in my old country so it will tell my TV station that i am in the same country.

i try expressVPN and NordVPN from here and both OK.
and to use it ( NordVPN ) on a RPI you need
-a- your login email
-b- your login password

-1- setup:
Nord VPN
sudo apt-get update
sudo apt-get install -y openvpn
cd /etc/openvpn/
sudo wget
sudo unzip zip
-2- start:
use as example:
sudo openvpn
and give email and password.
the terminal can stay open and ended with [ctrl][c]
or closed and ended with sudo killall openvpn later
i recommend that you open 2 browser windows first and do a myip check.
when VPN runs update one of the windows and find the new remote IP.
-3- bad style autologin:
cd /etc/openvpn/
sudo nano auth.txt with 2 lines: email and password
sudo nano and change
"auth-user-pass" to "auth-user-pass auth.txt"
-4- some script/alias
sudo nano NORDVPN
cd /etc/openvpn
sudo openvpn
sudo chmod +x NORDVPN
go back /home/pi/
nano .bash_aliases with
alias NORDVPN='sudo bash /etc/openvpn/NORDVPN'
alias killNORDVPN='sudo killall openvpn'
echo 'use: NORDVPN, killNORDVPN '

a reboot autostart / like you would need to use it for torrent server
i did not test.