OPNsense Forum

English Forums => 25.1, 25.4 Production Series => Topic started by: borys.ohnsorge on June 09, 2025, 01:19:27 PM

Title: User Portal OpenVPN - Custom Config
Post by: borys.ohnsorge on June 09, 2025, 01:19:27 PM
Hi,

Could you please advise if there are any plans to add a Custom config field to the Admin Portal for OpenVPN configuration, similar to what is available under VPN -> OpenVPN -> Client Export?

I need to define the following there:
for the configurations that users later download from the portal.

Maybe it is possible to add these variables to some file that is used as a template when generating the configuration during download?

Regards
Borys
Title: Re: User Portal OpenVPN - Custom Config
Post by: muchacha_grande on June 10, 2025, 03:36:17 PM
Hi,

I'm using those two parameters in my config.

They are visible near the end of the page when you click advanced view on the OpenVPN instance configuration.
Title: Re: User Portal OpenVPN - Custom Config
Post by: borys.ohnsorge on June 10, 2025, 11:43:59 PM
Quote from: muchacha_grande on June 10, 2025, 03:36:17 PMHi,

I'm using those two parameters in my config.

They are visible near the end of the page when you click advanced view on the OpenVPN instance configuration.
Yes, but this is the "server" side and if I understand it correctly, you will also need them in the client configuration, to make sure that the packets coming from it are the right size and not fragmented by the server. Not having this setting on the client side can sometimes lead to problems with some applications.
Title: Re: User Portal OpenVPN - Custom Config
Post by: muchacha_grande on June 11, 2025, 04:05:35 AM
Ok, now I understand. I only use client export page and put these commands in the custom config.
May be if you ask thin at github the developers can consider your case and add it.