Sep 26 2017
RPI and VPN
Raspberry 3 / with stretch and chromium modsis 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?
USE VPN!
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 https://nordvpn.com/api/files/zip
sudo unzip zip
-2- start:
use as example:
sudo openvpn xx100.nordvpn.com.udp1194.ovpn
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 xx100.nordvpn.com.udp1194.ovpn and change
"auth-user-pass" to "auth-user-pass auth.txt"
-4- some script/alias
sudo nano NORDVPN
#!/bin/sh
cd /etc/openvpn
sudo openvpn xx100.nordvpn.com.udp1194.ovpn
sudo chmod +x NORDVPN
go back /home/pi/
cd
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.