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
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
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
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
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
Anton Nesterov
b51aa0c6b9
feat(pia): PORT_FORWARD_ONLY variable ( #2070 )
2024-03-18 18:40:09 +01:00
Anton Nesterov
84d00b42f1
fix(config): STREAM_ONLY should set StreamOnly flag for server selection ( #2126 )
2024-03-18 16:01:00 +01:00
Quentin McGaw
423a5c37e0
feat(publicip): PUBLICIP_API variable supporting ipinfo and ip2location
2024-02-14 07:36:45 +00:00
Quentin McGaw
6a6337b98f
feat(publicip/ipinfo): add PUBLICIP_API_TOKEN variable
2024-02-13 10:55:06 +00:00
Quentin McGaw
827e591174
chore(settings): clearer error message for surfshark regions
...
- only log possible 'new' server regions
- do not log old retro-compatible server regions
- maintains compatibility with older names
2024-02-06 20:39:00 +00:00
Quentin McGaw
a369745101
chore(surfshark): fail validation for empty string region
2024-02-06 20:36:30 +00:00
Quentin McGaw
b5f1055682
hotfix(settings): allow public IP outbound subnets but not the unspecified address
2024-02-03 20:02:43 +00:00
Quentin McGaw
6b9c775055
feat(settings): prevent public firewall outbound subnets
2024-01-29 18:26:23 +00:00
Quentin McGaw
f8da1e79bc
fix(vpnunlimited): remove DEFAULT:@SECLEVEL=0
2023-12-22 09:39:34 +00:00
Quentin McGaw
4a6c229504
fix(settings): add VPN Unlimited warning for OpenSSL 3
2023-12-15 10:32:53 +00:00
Quentin McGaw
657b4b787f
fix(custom): read wireguard presharedkey from peer section
2023-12-09 17:26:01 +00:00
Quentin McGaw
4105f74ce1
feat(portforward): port redirection with VPN_PORT_FORWARDING_LISTENING_PORT
2023-11-23 08:37:43 +00:00
Quentin McGaw
8318be3159
feat(nordvpn): add access token warning if used as wireguard private key
2023-11-08 10:07:02 +00:00
Quentin McGaw
de196490db
fix(settings): wireguard preshared key from toml file
2023-11-08 10:06:57 +00:00
Quentin McGaw
9b00763a69
feat(config): add /32 if not present for Wireguard addresses
2023-09-24 16:50:34 +00:00
Quentin McGaw
f96448947f
fix(publicip): rework run loop and fix restarts
...
- Clearing IP data on VPN disconnection clears file
- More efficient partial updates
- Fix loop exit
- Validate settings before updating
2023-09-24 14:55:51 +00:00
Quentin McGaw
71201411f4
fix(portforward): rework run loop and fix deadlocks ( #1874 )
2023-09-23 12:57:12 +02:00
Quentin McGaw
e556871e8b
change(dns): DNS_KEEP_NAMESERVER leaves DNS fully untouched
2023-08-11 11:03:40 +00:00
Quentin McGaw
9024912e17
fix(custom): allow custom endpoint port setting
2023-07-27 10:32:08 +00:00
Quentin McGaw
0ebfe534d3
feat(settings): parse Wireguard settings from /gluetun/wireguard/wg0.conf ( #1120 )
2023-07-22 17:25:30 +02:00
Quentin McGaw
919b55c3aa
feat(wireguard): WIREGUARD_ALLOWED_IPS variable ( #1291 )
2023-07-06 09:08:59 +02:00
Quentin McGaw
8ad16cdc12
feat(protonvpn): port forwarding support with NAT-PMP ( #1543 )
...
Co-authored-by: Nicholas Xavier <nicho@nicho.dev >
2023-06-30 20:09:44 +02:00
Quentin McGaw
fae6544431
feat(pf): VPN_PORT_FORWARDING_PROVIDER variable ( #1616 )
2023-06-30 19:24:01 +02:00
Quentin McGaw
d3d8484b8e
hotfix(env): case sensitivity for OPENVPN_CUSTOM_CONFIG
2023-06-28 12:27:13 +00:00
Quentin McGaw
83826e1253
hotfix(settings): fix godot lint error
2023-06-12 13:51:50 +00:00
Quentin McGaw
4a0f9c36ba
hotfix(nordvpn): accept countries in SERVER_REGIONS
2023-06-10 16:29:30 +00:00
Quentin McGaw
2ec9293324
feat(wireguard): MTU defaults to 1400 instead of 1420
2023-06-08 09:50:21 +00:00
Quentin McGaw
0da2b6ad0b
chore(lint): add musttag linter and fix lint errors
...
Breaking change: JSON fields changed in the server API
2023-06-08 07:43:26 +00:00
Quentin McGaw
a9cd7be3f9
chore(sources/env): bump gosettings to v0.3.0-rc13
...
- Use `RetroKeys` option with env.* method calls
- Use `CSV*` typed methods
- Inject `handleDeprecatedKey` function
2023-06-08 07:40:37 +00:00
Julio Gutierrez
07459ee854
feat(nordvpn): new API endpoint and wireguard support ( #1380 )
...
Co-authored-by: Quentin McGaw <quentin.mcgaw@gmail.com >
2023-06-08 09:39:07 +02:00
Quentin McGaw
3b136e02db
chore(secrets): add test for readSecretFileAsStringPtr
2023-06-01 09:07:25 +00:00
Quentin McGaw
482447c151
chore(env): bump qdm12/gosettings to v0.3.0-rc11
2023-06-01 09:07:22 +00:00
Quentin McGaw
5d8fbf8006
fix(sources/secrets): do not lowercase env secret file paths
2023-06-01 08:20:13 +00:00
Quentin McGaw
2ab80771d9
feat(shadowsocks): bump from v0.4.0 to v0.5.0-rc1
2023-05-31 14:31:56 +00:00