Quentin McGaw
a03041cfea
hotfix(config): do not log retro-compat warning when using OPENVPN_USER or OPENVPN_PASSWORD
2024-07-26 08:42:32 +00:00
Quentin McGaw
e7381b3800
chore(config): rename FIREWALL to FIREWALL_ENABLED_DISABLING_IT_SHOOTS_YOU_IN_YOUR_FOOT
2024-07-26 08:25:05 +00:00
Quentin McGaw
0501743814
feat(pia): port forwarding options VPN_PORT_FORWARDING_USERNAME and VPN_PORT_FORWARDING_PASSWORD
...
- Retro-compatible with `OPENVPN_USER` + `OPENVPN_PASSWORD`
- No more reading for the OpenVPN auth file
- Allow to use PIA port forwarding with Wireguard
2024-07-09 14:44:46 +00:00
Quentin McGaw
06c9bc55d3
hotfix(firewall): prefer using ip6tables-legacy
...
- Fixes issue #2334
2024-07-08 08:57:57 +00:00
Quentin McGaw
fe05521f2b
feat(config): read wireguard config file without case sensitivity
2024-06-28 20:57:57 +00:00
Quentin McGaw
93ed87d12b
hotfix(pia): allow one value in SERVER_NAMES for the custom provider
2024-06-17 22:34:59 +00:00
Quentin McGaw
4218dba177
fix(publicip): abort ip data fetch if vpn context is canceled
...
- Prevents requesting the public IP address N times after N VPN failures
- Fetching runs with a context local to the 'single run'
- Single run writes single run result to a channel back to the caller, RunOnce is now blocking
2024-05-18 18:06:01 +00:00
Quentin McGaw
7872ab91dc
chore(pia): return an error to pf loop if server cannot port forward
2024-05-18 12:00:57 +00:00
Quentin McGaw
19a9ac9fd7
hotfix(torguard): remove second certificate
2024-05-16 18:50:36 +00:00
Quentin McGaw
6042a9e3c2
feat(health): change timeout mechanism
...
- Healthcheck timeout is no longer fixed to 3 seconds
- Healthcheck timeout increases from 2s to 4s, 6s, 8s, 10s
- No 1 second wait time between check retries after failure
- VPN internal restart may be delayed by a maximum of 10 seconds
2024-05-10 14:15:03 +00:00
Quentin McGaw
fd4689ee70
fix(ipv6): detect ignoring loopback route destinations
2024-05-10 14:15:03 +00:00
Quentin McGaw
4bd16373f2
fix(torguard): update OpenVPN configuration
...
- add aes-128-gcm and aes-128-cbc ciphers
- add extra CA certificate value
- remove mssfix option
- remove sndbuf and rcvbuf ption
- remove ping option
- remove reneg option
2024-05-10 14:14:42 +00:00
Quentin McGaw
ce642a6d8b
hotfix(firewall): prefer using iptables-legacy over nf_tables
...
- due to nf_tables bugs I discovered and reported
2024-05-09 14:33:34 +00:00
Quentin McGaw
ef6874fe57
fix(firewall): query iptables version for iptables found
2024-05-04 16:19:30 +00:00
Quentin McGaw
fb145d68a0
hotfix(firewall): support iptables-legacy for older kernels
2024-05-02 16:54:29 +00:00
Quentin McGaw
6dd27e53d4
chore(portforward): remove PIA dependency on storage package
2024-05-02 09:18:35 +00:00
Quentin McGaw
e0a977cf83
change(openvpn): default upgraded from 2.5 to 2.6
2024-05-02 08:13:51 +00:00
wanshuangcheng
5dacbb994f
chore(all): fix typos in code comments ( #2216 )
2024-05-02 09:24:49 +02:00
Quentin McGaw
b25ee21e3e
fix(custom): do not set server name if it does not exist
2024-05-01 19:35:40 +00:00
Quentin McGaw
7e0738d113
fix(vpnunlimited): allow OpenVPN TCP on port 1197
2024-04-30 08:05:22 +00:00
Quentin McGaw
0b078e5f5e
fix(vpnunlimited): change UDP port from 1194 to 1197
2024-04-30 08:04:02 +00:00
Quentin McGaw
45fe38e670
fix(custom): parse port option line for OpenVPN
2024-04-30 08:02:28 +00:00
Quentin McGaw
72e2e4b82c
fix(custom): set server name if names filter is not empty
...
- fix PIA port forwarding code usage
- refers to #2147
2024-04-29 19:23:34 +00:00
Quentin McGaw
bdc594c297
feat(airvpn): set default mssfix to 1320-28
2024-04-29 13:43:28 +00:00
Quentin McGaw
1afe01d8cd
feat(vpnsecure): update servers data
2024-04-29 09:46:48 +00:00
Quentin McGaw
234e54ac5c
chore(vpnsecure): associate "N / A" with no data for servers
2024-04-29 09:46:40 +00:00
Quentin McGaw
49b8f8b443
feat(surfshark): update servers data
2024-04-29 09:38:31 +00:00
Quentin McGaw
ce75c5ca21
fix(surfshark): remove outdated hardcoded retro servers
2024-04-29 09:37:58 +00:00
Quentin McGaw
c87c0e12fe
feat(wireguard): WIREGUARD_PERSISTENT_KEEPALIVE_INTERVAL option
2024-04-25 10:44:13 +00:00
Quentin McGaw
7b4befce61
hotfix(settings): openvpn encrypted key reading from file
2024-04-08 07:40:14 +00:00
Quentin McGaw
6709a248d6
hotfix(settings): HTTPPROXY_LOG reading fixed
2024-04-08 07:35:24 +00:00
Quentin McGaw
bf4cc0dabf
fix(server): /openvpn route status get and put
...
- get status return stopped if running wireguard
- put status changes vpn type if running wireguard
2024-04-08 07:28:56 +00:00
Quentin McGaw
982100782c
hotfix(config/nordvpn): do not initialize wg addresses to an empty slice
2024-04-02 14:48:40 +00:00
Quentin McGaw
4afbe9332f
hotfix(settings): trim space for each wireguard address
2024-04-01 13:04:00 +00:00
Quentin McGaw
4019ee3ea1
hotfix(settings): fix retro-compatible key message
2024-04-01 12:59:47 +00:00
Quentin McGaw
e859c60343
hotfix(config/wireguard): add /32 to address without bits specified
2024-03-29 15:06:34 +00:00
Quentin McGaw
8454123cae
fix(publicip/api): ip2location parsing for latitude and longitude
2024-03-29 14:54:45 +00:00
Quentin McGaw
e01ce9c6d8
hotfix(config): read wireguard config from /gluetun/wireguard/wg0.conf
2024-03-26 07:04:26 +00:00
Quentin McGaw
ecc80a5a9e
chore(config): upgrade to gosettings v0.4.0
...
- drop qdm12/govalid dependency
- upgrade qdm12/ss-server to v0.6.0
- do not unset sensitive config settings (makes no sense to me)
2024-03-25 19:14:20 +00:00
Quentin McGaw
23b0320cfb
chore(tun): fix unit test for unprivileged user
2024-03-25 18:44:47 +00:00
Quentin McGaw
4d9c619b24
chore(config): use openvpn protocol string field instead of TCP bool
2024-03-25 18:29:51 +00:00
Quentin McGaw
62007bf1a1
chore(config): provider name field as string instead of string pointer
2024-03-23 09:41:25 +00:00
Quentin McGaw
7674efe8d7
chore(config): remove bad retro-compatiblity for HTTP_CONTROL_SERVER_ADDRESS
...
- Retro-compatible variable key CONTROL_SERVER_ADDRESS was never defined
- Old variable key CONTROL_SERVER_PORT was removed in v3.28.0 and no complain so far
2024-03-23 09:37:54 +00:00
Adam Hebden
b3ceece779
feat(nordvpn): filter with SERVER_CATEGORIES ( #1806 )
...
- update NordVPN servers data built-in
2024-03-22 10:02:31 +01:00
Quentin McGaw
c74e4178bb
feat(nordvpn): update mechanism uses v2 API
2024-03-21 17:02:25 +00:00
Quentin McGaw
c0621bf381
chore(lint): upgrade linter to v1.56.2
2024-03-21 17:02:11 +00:00
Dennis Gaida
fb00fb16c2
feat(settings): load wireguard individual fields as secret files ( #1348 )
...
- Private key from `/run/secrets/wireguard_private_key` (path configurable with `WIREGUARD_PRIVATE_KEY_SECRETFILE`)
- Preshared key from `/run/secrets/wireguard_preshared_key` (path configurable with `WIREGUARD_PRESHARED_KEY_SECRETFILE`)
- Addresses from `/run/secrets/wireguard_addresses` (path configurable with `WIREGUARD_ADDRESSES_SECRETFILE`)
2024-03-21 10:08:41 +01:00
Quentin McGaw
6096b7ad4b
feat(config): read Wireguard config from secret
...
- defaults to `/run/secrets/wg0.conf`
- can be changed with variable `WIREGUARD_CONF_SECRETFILE`
2024-03-21 08:18:14 +00:00
Quentin McGaw
62158a1739
hotfix(settings): copy port forward only field
2024-03-19 15:20:04 +00:00
Quentin McGaw
3d16798544
fix(torguard): set user agent to download zip files
2024-03-18 17:46:49 +00:00