Transmission won't run after IPTABLE VPN kill switch reset

Hi,

I would still recommend a fresh install.

Anyway instructions for setting up the vpn with PIA, can be found here:

Confusion over VPN client setup - #2 by Tom_Doyle

Linked topic contains a link to a site recommending installing network manager, follow these instructions instead:

sudo apt-get update
sudo apt-get install openvpn unzip

cd /etc/openvpn
sudo wget --no-check-certificate https://www.privateinternetaccess.com/openvpn/openvpn.zip
sudo unzip openvpn.zip
sudo nano /etc/openvpn/pass.txt

top line: pia username
2nd line: pia password

sudo cp “UK London.ovpn” vpn.conf (Replace with whichever vpn server you are connecting to.)
sudo nano /etc/openvpn/vpn.conf

locate line: auth-user-pass
and change to: auth-user-pass /etc/openvpn/pass.txt

sudo nano /etc/default/openvpn

update one of the AUTOSTART= lines to:

AUTOSTART=vpn

sudo systemctl enable openvpn.service
sudo systemctl start openvpn.service

check your public ip is not the one provided by ISP.

curl ipinfo.io/ip

Once You’ve confirmed the vpn is working, setup the vpn kill switch.

The post I’ve linked to gives a base configuration, if you read further down the topic there more options which can be added to the configuration.

Thanks Tom.

@JJS78

Edit:

The site that advised installing NetworkManager, has updated there instructions now and removed that advise. So you can find all you need to know about setting up PIA vpn on osmc here:

https://www.backtrails.net/2017/04/30/openvpn-setup-for-private-internet-access-pia-vpn-raspberry-pi-3-osmc/

1 Like