linux-cli-community icon indicating copy to clipboard operation
linux-cli-community copied to clipboard

[Enhancement] Custom OpenVPN configuration

Open mazhead opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

I was unable to add custom options to OpenVPN configuration. There are many options which could benefit the user. In a particular example adding a pidfile can give the possibility to restart systemd service and monitor if we use the VPN.

This opens a possibility to stop services which depend on the VPN to prevent IP leaking. E.g. killswitch but on application level.

This is not the only use case as there are many more options which could be added.

Describe the solution you'd like A clear and concise description of what you want to happen.

I have created the changes in my fork: https://github.com/mazhead/linux-cli/commit/d209523b23d1ddb75563c77826611a8ce28d6311

But as the contribution guide states, I should create a issue before creating a pull requests.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

There is currently no other way (known to me) how to add any options to the openvpn config file as the jinja gets templated out before every config.

Additional context Add any other context or screenshots about the feature request here.

mazhead avatar Nov 09 '20 06:11 mazhead