Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VPNSP=custom for OpenVPN custom config files #621

Merged
merged 1 commit into from
Sep 13, 2021
Merged

Conversation

qdm12
Copy link
Owner

@qdm12 qdm12 commented Sep 13, 2021

Refers to #611

  • VPNSP value custom for OpenVPN only
  • 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

- Change: `up` and `down` options not filtered out
- Change: `OPENVPN_INTERFACE` overrides the network interface of the file.
- `VPNSP` value `custom` for OpenVPN only
- Feat: config file is read when building the OpenVPN configuration, so it's effectively reloaded
- Retro-compatibility: `OPENVPN_CUSTOM_CONFIG` set implies `VPNSP=custom`
- Extract values from custom file to log out more valid settings
- `PROTOCOL` has no effect
- `PORT` overrides any port found in the configuration file
- Maint: `internal/openvpn/extract` package instead of `internal/openvpn/custom` package
- Maint: All providers' `BuildConf` method return an error
- Maint: rename `CustomConfig` to `ConfFile`
@qdm12 qdm12 merged commit f807f75 into master Sep 13, 2021
@qdm12 qdm12 deleted the vpnsp-custom-openvpn branch September 13, 2021 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant