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

    OpenVPN Command Line Arguments

    OpenVPN
    3
    4
    482
    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.
    • R
      RHLinux
      last edited by

      Hello All,

      Is it possible to pass command line arguments to the openVPN daemon? I need to pass some specific command line arguments to openVPN. I have tried through SSH to modify the startup scripts in /etc/rc.d/openvpn but couldn't get them to work.

      RHLinux

      GertjanG 1 Reply Last reply Reply Quote 0
      • RicoR
        Rico LAYER 8 Rebel Alliance
        last edited by

        Use the Custom options in Advanced Configuration:

        pfsense_openvpn_customoptions.png

        -Rico

        1 Reply Last reply Reply Quote 0
        • GertjanG
          Gertjan @RHLinux
          last edited by

          @RHLinux said in OpenVPN Command Line Arguments:

          /etc/rc.d/openvpn

          ?
          FreeBSD doesn't start daemon like "Linux" based OS's ....
          pfSense isn't even following pure "FreeBSD" conventions.
          To finalize : editing core file will probably get wiped (re written) when saving config, and for sure when upgrading.

          If you really have to, look here :
          /usr/local/etc/rc.d/openvpn

          No "help me" PM's please. Use the forum, the community will thank you.
          Edit : and where are the logs ??

          R 1 Reply Last reply Reply Quote 1
          • R
            RHLinux @Gertjan
            last edited by

            @Gertjan said in OpenVPN Command Line Arguments:

            @RHLinux said in OpenVPN Command Line Arguments:

            /etc/rc.d/openvpn

            ?
            FreeBSD doesn't start daemon like "Linux" based OS's ....
            pfSense isn't even following pure "FreeBSD" conventions.
            To finalize : editing core file will probably get wiped (re written) when saving config, and for sure when upgrading.

            If you really have to, look here :
            /usr/local/etc/rc.d/openvpn

            Thanks for the information, I'm used to Fedora, Debian/Ubuntu Linux distros :)... It's purely for testing, I realize they will be overwritten during upgrades, but they shouldn't be overwritten by config changes.

            RHLinux

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