Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Download SSL VPN user config

Hello,
is it possible download the "vpn ssl package" user config via command line?
i have to schedule the download of the config for all user one time a week.

Thanks for your help.


This thread was automatically locked due to age.
Parents
  • Have you looked at "openvpn_generate_client_package" and "openvpn_generate_users_client_package" with confd-client.plx (aka cc)?  

    You probably need to go RAW to get to them interactively and massage the output to get something useful.



              'openvpn_generate_client_package' => {
                                                     'class' => 'info',
                                                     'deny' => undef,
                                                     'doc' => '
    SYNOPSIS: Create an openvpn client package for a given user.
    ARGUMENTS: 1 - Reference to an user object
               2 - Client package type [client-config|config-exe|config-zip|config]
    RETURNS: * Success: Gateway hostname and client package data (HASH REF).
             * Failure: undef
      ',
                                                     'module' => 'Info:[:$]penvpn',
                                                     'rights' => [
                                                                   'SUPERADMIN',
                                                                   'READONLY'
                                                                 ]
                                                   },
              'openvpn_generate_users_client_package' => {
                                                           'class' => 'info',
                                                           'deny' => undef,
                                                           'doc' => '
    SYNOPSIS: Create a ZIP file containing openvpn client packages of given users
              or groups and a CSV file containing users name, real name and primary
              email address.
    ARGUMENTS: 1 - An array of references to user and group objects
               2 - Type of client package [client-config|config-exe|config-zip]
    RETURNS: * Success: ZIP file containing client packages and a CSV file.
             * Failure: undef
      ',
                                                           'module' => 'Info:[:$]penvpn',
                                                           'rights' => [
                                                                         'SUPERADMIN',
                                                                         'READONLY'
                                                                       ]
                                                         },

Reply
  • Have you looked at "openvpn_generate_client_package" and "openvpn_generate_users_client_package" with confd-client.plx (aka cc)?  

    You probably need to go RAW to get to them interactively and massage the output to get something useful.



              'openvpn_generate_client_package' => {
                                                     'class' => 'info',
                                                     'deny' => undef,
                                                     'doc' => '
    SYNOPSIS: Create an openvpn client package for a given user.
    ARGUMENTS: 1 - Reference to an user object
               2 - Client package type [client-config|config-exe|config-zip|config]
    RETURNS: * Success: Gateway hostname and client package data (HASH REF).
             * Failure: undef
      ',
                                                     'module' => 'Info:[:$]penvpn',
                                                     'rights' => [
                                                                   'SUPERADMIN',
                                                                   'READONLY'
                                                                 ]
                                                   },
              'openvpn_generate_users_client_package' => {
                                                           'class' => 'info',
                                                           'deny' => undef,
                                                           'doc' => '
    SYNOPSIS: Create a ZIP file containing openvpn client packages of given users
              or groups and a CSV file containing users name, real name and primary
              email address.
    ARGUMENTS: 1 - An array of references to user and group objects
               2 - Type of client package [client-config|config-exe|config-zip]
    RETURNS: * Success: ZIP file containing client packages and a CSV file.
             * Failure: undef
      ',
                                                           'module' => 'Info:[:$]penvpn',
                                                           'rights' => [
                                                                         'SUPERADMIN',
                                                                         'READONLY'
                                                                       ]
                                                         },

Children
No Data