Files
gluetun/maintenance.md
Quentin McGaw f807f756eb VPNSP value custom for OpenVPN custom config files (#621)
- Retro-compatibility: `OPENVPN_CUSTOM_CONFIG` set implies `VPNSP=custom`
- Change: `up` and `down` options are not filtered out
- Change: `OPENVPN_INTERFACE` overrides the network interface defined in the configuration file
- Change: `PORT` overrides any port found in the configuration file
- Feat: config file is read when building the OpenVPN configuration, so it's effectively reloaded on VPN restarts
- Feat: extract values from custom file at start to log out valid settings
- Maint: `internal/openvpn/extract` package instead of `internal/openvpn/custom` package
- Maint: All providers' `BuildConf` method return an error
- Maint: rename `CustomConfig` to `ConfFile` in Settings structures
2021-09-13 08:30:14 -07:00

1.7 KiB

Maintenance

With caution

  • Remove duplicate /gluetun directory creation
  • Remove firewall shadowsocks input port?
  • Re-add persist-tun? Run openvpn without root?
  • Remove script-security option
  • ncp-ciphers to data-ciphers
  • Remove ncp-disable

Uniformization

  • Filter servers by protocol for all
  • Multiple IPs addresses support for all proviedrs
  • UPDATER_PERIOD only update provider in use

Code

  • Use github.com/qdm12/ddns-updater/pkg/publicip
  • Windows and Darwin development support
  • Use internal/netlink in firewall and routing packages

Features

  • Pprof server
  • Pre-install DNSSEC files so DoT can be activated even before the tunnel is up
  • Gluetun entire logs available at control server, maybe in structured format
  • Authentication with the control server
  • Get announcement from Github file
  • Support multiple connections in custom ovpn

Gluetun V4

  • Remove retro environment variables
  • Updater servers version reset to 1
  • Change models to all have IPs instead of IP
  • Remove HTTP server v0
  • PORT to OPENVPN_PORT
  • UNBLOCK to DOT_UNBOUND_UNBLOCK
  • PROTOCOL to OPENVPN_PROTOCOL
  • PORT_FORWARDING
  • Change servers filtering environment variables to plural
  • WIREGUARD_PORT to WIREGUARD_ENDPOINT_PORT
  • WIREGUARD_ADDRESS to WIREGUARD_ADDRESSES
  • Only use custom VPNSP for custom OpenVPN configurations
  • VPNSP compulsory
  • Change VPNSP to VPN_SERVICE_PROVIDER
  • Change REGION (etc.) to SERVER_REGIONS
  • Remove PUBLICIP_FILE
  • Remove retro-compatibility where OPENVPN_CONFIG != "" implies VPNSP = "custom" and set OPENVPN_CUSTOM_CONFIG default to /gluetun/custom.ovpn
  • Split servers.json and compress it
  • Use relative paths everywhere instead of absolute