https://github.com/serginator/pia
Scripts for Private Internet Access VPN
https://github.com/serginator/pia
Last synced: 9 months ago
JSON representation
Scripts for Private Internet Access VPN
- Host: GitHub
- URL: https://github.com/serginator/pia
- Owner: serginator
- Created: 2014-07-27T23:49:01.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2016-09-08T06:00:13.000Z (over 9 years ago)
- Last Synced: 2025-04-03T19:21:46.387Z (about 1 year ago)
- Language: Shell
- Size: 5.86 KB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
pia
===
Scripts for Private Internet Access VPN
## How to use it
First, clone the repo: `clone git@github.com:serginator/pia.git`
Then add a file called `.pass` in the root of the pia folder with your username in the first line and your password in the second one, for example:
```
my_username
Pa$$w0rd
```
Now, make `fastest.sh` executable with `chmod +x fastest.sh`
And last, execute it with `./fastest.sh`
It will select the fastest one and connect to it using the credentials you configured before in the file `.pass`
## More tweaks
If you want to avoid some servers, just add a `!` at the beginning of the line in `servers` file
If you want to reduce the time, just modify the times it pings eachs server, so change the command to `ping -c 1`... for example, and it will just ping one time each server (it's less accuracy, of course)