Changelog:
- Fix port forwarding for ProtonVPN custom config files (for usage with Wireguard), adds
--custom-port-forwarding {protonvpn,pia}
flag to indicate which provider's implementation to use for custom config files. Fixes issue #247 - Add
--port-forwarding-callback
script support to ProtonVPN port forwarding too (the port number is provided to the script as the first argument$1
). - Refactoring of shared port forwarding code between ProtonVPN and PrivateInternetAccess (both require a separate thread to maintain port forwarding).
- Add shell path expansion to path arguments (so
~
can be used in custom config arguments). - Allow all CLI arguments except
application
to be specified in voponoconfig.toml
file - Refactor CLI argument parsing with some
macro_rules!
macros (could still be improved with a procedural macro for getting fields automatically). - Warn on up / down scripts being present in custom OpenVPN config
- Print full OpenVPN output when running with
--verbose