OpenVPN Command Line Arguments



  • 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


  • LAYER 8 Rebel Alliance

    Use the Custom options in Advanced Configuration:

    pfsense_openvpn_customoptions.png

    -Rico



  • @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



  • @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


Log in to reply