Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    OpenVPN Client :: All options not written in exported file

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    3 Posts 3 Posters 1.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      grazman
      last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        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".

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • C
          cmb
          last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.