summaryrefslogtreecommitdiff
path: root/data/templates/openvpn/service-override.conf.tmpl
AgeCommit message (Collapse)Author
2022-04-18openvpn: T4353: T4351: fix generation of openvpn-option string passed to daemonChristian Poessinger
2022-04-13openvpn: T4333: migrate to new vyos_defined Jinja2 testChristian Poessinger
2021-10-04OpenVPN: T3350: Changed custom options for OpenVPN processingzsdc
Custom OpenVPN options moved back to the command line from a configuration file. This should keep full compatibility with the `crux` branch, and allows to avoid mistakes with parsing options that contain `--` in the middle. The only smart part of this - handling a `push` option. Because of internal changes in OpenVPN, previously it did not require an argument in the double-quotes, but after version update in `equuleus` and `sagitta` old syntax became invalid. So, all the `push` options are processed to add quotes. The solution is still not complete, because if a single config line contains `push` with other options, it will not work, but it is better than nothing.