Modify OpenVPN Server Config
I'd like to modify the OpenVPN server config. How can I do that?
That may depend on what you want to configure. Maybe you can be more explicit?
We had some requests in the past to add an admin interface (https://git.cloudron.io/cloudron/openvpn-app/issues/22). Would be great to collect your use case as well.
At first, I'd like to remove the push redirect gateway command.
@RoboMod Until we build the admin interface, best bet is to edit
/run/openvpn.confusing the app's terminal and make changes there. Note that these changes are not persisted across restarts. Hopefully, we can get this fixed soon.
Thanks for that. I tested this successfully by commenting out the line:
push "redirect-gateway def1 bypass-dhcp"
In addition, it would be great to stop any pass through traffic.
Do you have any schedule for implementing the admin interface?
@RoboMod I will mark this as solved. Please see https://forum.cloudron.io/topic/1958/upcoming-apps. It's part of our next batch of things to do.
Wuhu! Thanks for picking up this topic. I saw the update and the additional info in the docs. One problem is: there is no
/app/data/openvpn.conf. Should I modify the template file instead?
@RoboMod I just published the new version (1.4.0). If you update to that version, you will find
/app/data/openvpn.conf. https://cloudron.io/documentation/apps/openvpn/#customizations is the docs.