Package Details: pia-tools 0.9.7.3-1

Package Base: pia-tools
Description: OpenVPN hook for privateinternetaccess.com
Upstream URL: https://github.com/pschmitt/pia-tools
Category: network
Licenses: GPL3
Submitter: pschmitt
Maintainer: pschmitt
Last Packager: pschmitt
Votes: 9
First Submitted: 2013-11-27 00:01
Last Updated: 2015-02-04 20:51

Latest Comments

Comment by pschmitt

2015-02-04 20:51

And it's updated.

Comment by pschmitt

2015-02-04 20:49

Sorry guys I am currently unable to update the package: "Error - File could not be written". Hope the AUR isn't running out of spacel. I'll try again later.

Comment by adambot

2015-01-28 20:44

pia-down should have --restore-dns instead of --pia-dns

also (sleep 5 && pia-tools -r)& doesn't make sense to have in the down logic

Comment by pschmitt

2014-11-17 18:45

I updated the PKGBUILd to reflect the checksum changes. Sorry for the delay.

Comment by bmuk

2014-11-17 16:19

The two files whose hash has changed are:

a41d4fc3e4027580a394482f857865b415e9ded372235c1dbcb7b542b8f4177f pia-tools
c944b14543aceaa8210d8971c9080e257041974aee4e89cb5a877137a5b11484 pia-tools.groff

Comment by czechman86

2014-11-16 20:11

I am getting this error, when I attempt to install PIA-TOOLS:

==> Validating source files with sha256sums...
pia-tools ... FAILED
pia-tools.groff ... FAILED
pia@.service ... Passed
pia_common ... Passed
pia-up ... Passed
pia-down ... Passed
pia-tools.install ... Passed
==> ERROR: One or more files did not pass the validity check!
==> ERROR: Makepkg was unable to build pia-tools.
==> Restart building pia-tools ? [y/N]

I imagine that the sha's just need to be updated.

Thank you for this awesome project!

Comment by packtsardine

2014-11-10 23:15

I'm not sure if this is a major issue or not, but I did notice a difference between connections via pia-tools and OpenVPN.

When I ran a DNS leak test while connected via pia-tools, I got a series of Level 3 Connections servers. With OpenVPN clients you see a single server in the country where the server is located. PIA says they phased out the usage of Level 3 and Google DNS, so perhaps there is something that needs to be updated in this package.

Comment by pschmitt

2014-10-29 19:09

Sorry about that. I updated the checksum.

Comment by KD0SKH

2014-10-29 14:46

The sha256sum for pia-tools.groff is incorrect because of a recent update to that file. On line 19, it was:

'35ddc09ca81f1667653d0809cf4fc9b515ce5cfd0011cb3bd6bfa1cc69a3fc03'


but it needs to be:


'b3e91b7a4c5d5642cac2302cb29652139a59d6a43663cb94b47077ba7e75e7c6'

Comment by bugabinga

2014-10-26 12:12

This is awesome! Thank you. Worked for me on first try. Could you explain why transmission-cli is a dependency? Is it just assumed that I have transmission installed ?

Comment by mrbeard

2014-08-03 20:06

Anyone else not able to port forward? When I look at the return from the wget (for port forwarding details) it says "port forwarding not available for this region" yet I'm using the ones PIA says to i.e. France, Germany, Romania, etc...Did it in a Windows VM via PIA client and it worked...So I'm stuck if anyone figures this out please share. Thank you.

EDIT: fixed it by adding this in /usr/bin/pia-tools

Line 187: local local_vpn_ip="$(ip addr show $VIRT_NET_DEV | grep inet | awk '{ print $2 }' | cut -d$'\n' -f1)"

because the IP the script was getting had a \n character in it

Comment by pschmitt

2014-02-10 21:36

Well nevermind, I completely forgot that I made a few changes to the service file and saved it as transmissionD. My bad. I'll update my script accordingly ;)

Comment by pschmitt

2014-02-10 21:32

Thanks for your comment. I could add OpenNic as an alternate DNS server, but I'm not quite used to using it myself and there seem to be a lot of different servers to choose from. Feel free to fork my script: https://github.com/pschmitt/pia-tools

About the transmission service: mine is definetly called "transmissiond". What transmission package do you use?

Comment by Undisclosed

2014-01-31 04:32

I would like to thank you for creating this package. After fumbling around the whole day messing with others' scripts, I finally found this. It took a bit to get it working properly but it runs smoothly, updates the transmission peer port automatically. Very Nice!

The file pia-tools had to be edited to change the instances of "transmissiond" to "transmission". After that, and updating the hashes in PKGBUILD, it worked great.

I also made changes from Google DNS to OpenNic (opennicproject.org) DNS servers.

Just wanted to thank you PSchmitt for making this excellent resource.