Quentin McGaw
a67efd1ad1
Code maintenance: Using qdm/dns and qdm12/updated
2021-01-02 18:31:39 +00:00
Quentin McGaw
5dcbe79fa8
Move OS package to golibs
2021-01-02 01:57:00 +00:00
Quentin McGaw
6871444728
Change: remove decomissioned SecureDNS option
2021-01-01 20:45:11 +00:00
Quentin McGaw
f4db7e3e53
Change: remove LibreDNS, it does'nt support DNSSEC
2021-01-01 20:44:01 +00:00
Quentin McGaw
d713782fe1
Change: Use SERVER_HOSTNAME instead of HOSTNAME
2020-12-31 21:50:28 +00:00
Quentin McGaw
8f862b3df7
Bug fix: Remove trail newline from secrets
...
- Fix #330
2020-12-31 02:03:51 +00:00
Quentin McGaw
5917bb10e4
Feature: Docker secrets, refers to #306
2020-12-29 20:47:56 +00:00
Quentin McGaw
258e150ebf
Code maintenance: GetPassword signature changed
2020-12-29 20:06:24 +00:00
Quentin McGaw
96f2b2b617
Change: PASSWORD changed to OPENVPN_PASSWORD
2020-12-29 20:05:17 +00:00
Quentin McGaw
d556db079b
Change: USER changed to OPENVPN_USER
2020-12-29 20:02:58 +00:00
Quentin McGaw
a811a82329
Change: Remove CLIENT_KEY variable
2020-12-29 19:54:58 +00:00
Quentin McGaw
ef40f2f91b
Code maintenance: Use Unset() option for params
2020-12-29 18:29:21 +00:00
Quentin McGaw
cb64302294
Rename UID and GID to PUID and PGID
2020-12-29 16:44:35 +00:00
Quentin McGaw
73479bab26
Code maintenance: OS package for file system
...
- OS custom internal package for file system interaction
- Remove fileManager external dependency
- Closer API to Go's native API on the OS
- Create directories at startup
- Better testability
- Move Unsetenv to os interface
2020-12-29 00:55:31 +00:00
Quentin McGaw
db886163c2
Public IP getter loop refactored
2020-12-28 01:51:55 +00:00
Quentin McGaw
4257581f55
Loops and HTTP control server rework ( #308 )
...
- CRUD REST HTTP server
- `/v1` HTTP server prefix
- Retrocompatible with older routes (redirects to v1 or handles the requests directly)
- DNS, Updater and Openvpn refactored to have a REST-like state with new methods to change their states synchronously
- Openvpn, Unbound and Updater status, see #287
2020-12-19 20:10:34 -05:00
Quentin McGaw
1cc0f5fee9
Fix #296 (Cyberghost implementation) ( #297 )
...
* Reads the client key from /gluetun/client.key
* Read the client certificate from /gluetun/client.crt
* Additional checks for client key and client certificate validity
* Fix client key file parsing if environment variable isn't present
2020-11-19 08:50:55 -05:00
Quentin McGaw
40ed070f21
Filter Privado servers by hostnames only
2020-11-09 23:17:22 +00:00
Quentin McGaw
f1e4b9937b
Privado support, fix #285 ( #288 )
2020-11-08 20:56:49 -05:00
Quentin McGaw
a7a7efe9c3
Remove PIA v3 servers support
2020-11-05 02:10:34 +00:00
Quentin McGaw
31883f9adb
Windscribe API and more servers filter options, fixes #197 ( #282 )
...
- Use Windscribe API to fetch servers information
- More data on servers about region, city and hostname
- Add optional server filters with `REGION`, `CITY` and `HOSTNAME` csv environment variables
2020-11-04 20:38:35 -05:00
Quentin McGaw
0c9f74ffa4
HTTP proxy written in Go to replace Tinyproxy ( #269 )
2020-10-31 21:50:31 -04:00
Quentin McGaw
58da55da1e
Retrocompatiblity with EXTRA_SUBNETS key
2020-10-29 23:32:15 +00:00
Quentin McGaw
db64dea664
Fix #273 ( #277 ), adding FIREWALL_OUTBOUND_SUBNETS
2020-10-29 19:23:44 -04:00
Quentin McGaw
e97d1e4a9a
Set default for DOT_CACHING in code
2020-10-24 22:24:20 +00:00
Quentin McGaw
ed4fcc17b3
Routing improvements ( #268 )
...
- Fixes #82
- Remove `EXTRA_SUBNETS`
- Remove no longer needed iptables rules
- Reduce routing interface arity
- Routing setup is done in main.go instead of in the firewall
- Routing setup gets reverted at shutdown
2020-10-24 18:05:11 -04:00
Quentin McGaw
716eb14da1
Allow empty string for CSV variables with golibs
2020-10-24 19:09:54 +00:00
Quentin McGaw
f92489f99b
Fix Nordvpn number empty string allowance
2020-10-24 18:45:44 +00:00
Quentin McGaw
9c73faaaeb
Add linters and fix lint issues
2020-10-20 02:45:28 +00:00
Quentin McGaw
af606463ea
Multi options filters, fixes #231 ( #262 )
...
* OWNED environment variable for Mullvad
* CSV are now accepted for all servers filtering environment variables
2020-10-18 17:15:42 -04:00
Quentin McGaw
c932f48a95
Fixes #254 new variable FIREWALL_INPUT_PORTS ( #260 )
2020-10-18 09:22:28 -04:00
Quentin McGaw
b27e637894
HTTP_CONTROL_SERVER_LOG variable, fixes #249
2020-10-17 22:21:20 +00:00
Quentin McGaw
8abc22977c
Fix #261 add variable HTTP_CONTROL_SERVER_PORT
2020-10-17 22:07:15 +00:00
Quentin McGaw
9b9ae69404
Repurpose OPENVPN_TARGET_IP for #229
2020-10-12 20:21:26 +00:00
Quentin McGaw
ecf76896a2
Mullvad: configurable ipv6 tunneling ( #253 )
...
- Disabled by default
- Wiki pages updated
- Readme updated
2020-09-26 09:33:24 -04:00
Quentin McGaw
a19efbd923
Updater loop with period and http route ( #240 )
...
* Updater loop with period and http route
* Using DNS over TLS to update servers
* Better logging
* Remove goroutines for cyberghost updater
* Respects context for servers update (quite slow overall)
* Increase shutdown grace period to 5 seconds
* Update announcement
* Add log lines for each provider update start
2020-09-12 14:04:54 -04:00
Quentin McGaw
7c102c0028
Fix #135
2020-08-30 14:48:57 +00:00
Quentin McGaw
aac5274eab
Fix #224
2020-08-29 19:14:52 +00:00
Quentin McGaw
d463e4cb69
New PIA servers support ( #227 )
...
* Adapt storage: SyncServers write to file option, export FlushToFile
* CLI built-in updater for old and new PIA servers
* Update hardcoded IP addresses for PIA old and new servers
* Add PIA old to allServers struct and update timestamps
* Adapt code to work with new and old PIA servers
* Remove PIA subdomains (unneeded) from resolver tool
2020-08-28 08:17:04 -04:00
Quentin McGaw
b10a476622
Default status file base directory /tmp/gluetun
2020-08-18 01:08:24 +00:00
Quentin McGaw
f95f6201b1
Rename repo to Gluetun, refers to #112
2020-07-26 12:07:06 +00:00
Quentin McGaw
8f547500d0
Purevpn support ( #208 )
...
Fixes #192
2020-07-25 11:19:45 -04:00
Quentin McGaw
0ce129b63d
Make all variables behave like server filters
2020-07-23 01:48:18 +00:00
Quentin McGaw
28e0abc922
FIREWALL_VPN_INPUT_PORTS variable, fixes #196
2020-07-20 02:07:13 +00:00
Quentin McGaw
51af8d1ab0
PUBLICIP_PERIOD environment variable
2020-07-16 01:12:54 +00:00
Quentin McGaw
1281026850
Nordvpn support ( #189 ), fix #178
2020-07-15 18:14:45 -04:00
Quentin McGaw
7e7312459d
Cyberghost: read client key as file, see #179
2020-07-14 00:17:31 +00:00
Quentin McGaw
618441b008
Vyprvpn support, fix #181 ( #193 )
2020-07-13 08:04:35 -04:00
Quentin McGaw
0fc69e068e
FIREWALL_DEBUG variable, refers to #190 , #194
2020-07-13 02:14:56 +00:00
Quentin McGaw
8b096af04e
DNS_KEEP_NAMESERVER variable, refers to #188
2020-07-11 23:51:53 +00:00