OpenVPN Client :: All options not written in exported file



  • In the OpenVPN client config I need to push routes, (route-method exe, etc.), and the routes push but not the specific options. When I export a config the options are not in the resulting .ovpn file.

    Am I expecting this to work and it shouldn't? Or is there a way to manually edit the config before it is produced to get the options automatically into the export file?


  • Rebel Alliance Developer Netgate

    IIRC it doesn't put anything from the custom options into the client configs because those are options for the server, not clients. Same thing with CSC entries.

    I'm not sure if there would be a way to add those options in the exporter or not. You might open a feature request ticket to add that, but put the target as "future".



  • Just put those in your server config (as a custom option if needed), then the server pushes them to the client. Server pushed options don't go in the client config file.


Log in to reply