OpenVPN Config File additional lines

Hello, I remember there was a option to add additional lines to the ovpn files automatically but I forgot where it was. I want to add those lines to the ovpn file so there are always in the config also when creating a new user without adding them manually every time.

auth-user-pass
static-challenge “Enter your OTP” 1
reneg-sec 0

Somewhere was a file I had to create and put these lines in and they were automatically in the ovpn file. Where was the file and what was the name?

Thanks for help!

Stefan

Hallo @bktel

Welcome to the IPFire community.

This section in the documentation covers that.
https://www.ipfire.org/docs/configuration/services/openvpn/config/client_conf#advanced-client-options

1 Like