Michael Moon
|
5f9e884e53
|
Use newly available v4 server list to update cache after connection
|
2020-08-26 06:39:04 +08:00 |
|
Michael Moon
|
e29712cda2
|
openrc-init: keep a log so we can check what it's doing during startup
|
2020-08-20 12:32:13 +08:00 |
|
Michael Moon
|
ac7d270d2a
|
pia-wg: use fwmark instead of ip rules to steer wireguard packets, prettify location list output
|
2020-08-20 12:31:36 +08:00 |
|
Michael Moon
|
4015c34f6f
|
Fix dirs in init script to match new locations in pia-wg, fix pia-wg stripping groups on serverlist update, fix pia-wg always selecting a US-based server, minor rearrangements
|
2020-07-21 19:41:59 +08:00 |
|
Michael Moon
|
90d2442f03
|
Change default config and cache locations for root user
|
2020-07-20 15:03:11 +08:00 |
|
Michael Moon
|
2d787561b6
|
Fallback to common name if registration using dns name fails, preserve "groups" section of server list and pick a random port in case PIA ever opens more ports for wireguard
|
2020-07-18 14:00:17 +08:00 |
|
Michael Moon
|
cda3ed5093
|
Ensure we exit 0 on success, fix a typo where we grabbed a new server list every single time instead of every few days
|
2020-07-17 00:49:45 +08:00 |
|
Michael Moon
|
5863d08065
|
Switch server list to new generation list
|
2020-07-15 17:11:01 +08:00 |
|
Michael Moon
|
31c9f28223
|
Don't wait indefinitely for connection to stabilise, fail after a while so we can try again
|
2020-07-15 17:02:40 +08:00 |
|
Michael Moon
|
1d6657e773
|
Quick openrc init script
|
2020-06-30 14:56:49 +08:00 |
|
Michael Moon
|
8e7131d1d8
|
pia-wg: check sysfs instead of invoking ip link to test if interface exists
|
2020-06-30 14:56:37 +08:00 |
|
Michael Moon
|
1b2679cdf6
|
Exit properly if key registration fails, don't overwrite token file with every invocation, allow ctrl+c to work while waiting for connection to stabilise
|
2020-06-25 18:22:23 +08:00 |
|
Michael Moon
|
47dd996ae6
|
Add timeout while activating public key, make sure to ping the right interface during connection check
|
2020-06-25 12:51:51 +08:00 |
|
Michael Moon
|
e5795872e1
|
Use PIA's self-signed RSA cert to verify endpoints's serial number instead of their wildcard *.privateinternetaccess.com cert, clean up some meaningless warnings during interface setup
|
2020-06-17 17:08:18 +08:00 |
|
Michael Moon
|
4986fca570
|
Add suggestions from /u/Threarah, no longer require wg-quick, re-fetch server list after connection if cached list is stale, check that the few prerequisites are available
|
2020-06-17 14:39:53 +08:00 |
|
Michael Moon
|
4696b1bbb2
|
Clarify token file location in an error message
|
2020-06-16 17:38:34 +08:00 |
|
Michael Moon
|
ff2df879a3
|
handle = in keys properly
|
2020-06-09 21:49:07 +08:00 |
|
Michael Moon
|
064cd537df
|
Make output less noisy, allow endpoint hop without a teardown/setup cycle
|
2020-06-04 17:00:08 +08:00 |
|
Michael Moon
|
b37773362b
|
Fix some ip route stuff
|
2020-05-20 15:16:33 +08:00 |
|
Michael Moon
|
5a3bc432f1
|
Move configs to ~/.config/pia-wg/ by default, expand settings management, improved gateway discovery, extra routing rules
|
2020-05-19 13:54:38 +08:00 |
|
Michael Moon
|
bd6af408a0
|
Use first gateway instead of last. TODO: find proper gateway
|
2020-05-13 12:53:33 +08:00 |
|
Michael Moon
|
176ba4a5d6
|
Stop wg from breaking certain network setups, do it manually instead if required. Also add commented DNS entries
|
2020-05-11 23:28:21 +08:00 |
|
Michael Moon
|
6bea2c91fa
|
Change default location to US (any)
|
2020-05-11 23:10:35 +08:00 |
|
Michael Moon
|
7952d0b541
|
Add pattern match for location
|
2020-05-11 23:03:47 +08:00 |
|
Michael Moon
|
de7d24a094
|
Fix a minor error with the no-saved-password handling
|
2020-05-11 22:04:19 +08:00 |
|
Michael Moon
|
0591a92daf
|
Huge raft of updates adding to tpretz's simple script
|
2020-05-11 21:59:12 +08:00 |
|
Thomas Pressnell
|
f366a1f77d
|
|
2020-04-19 12:12:55 +01:00 |
|