2 Configuration
Federico Sartini edited this page 2015-04-13 11:01:09 +02:00

Configuration

In the configuration page of VPNMAN frontend you can set:

Certificate Authority

VPNMAN requires a CA to create VPN certificates. If you already have CA keys pair you can set it using the following configuration parameters:

CA_CRT_FILEPath of CA certificate file (.crt)
CA_KEY_FILEPath of CA private key file (.key)
CA_PASSPHRASEOptional password for the private key

If you don't have a CA keys pair you can create it using the BUILD CA button. Note that before create a new CA you must set all the certificate parameters (see following paragraph).

Certificate Parameters

All the VPNMAN created certificates are set using these parameters:

SERVER_COUNTRY_CODECertificate country code
SERVER_EMAILCertificate reference mail
SERVER_LOCALITYCertificate locality
SERVER_ORG_NAMECertificate organization name
SERVER_ORG_UNITCertificate organization unit
SERVER_ORG_UNITCertificate state or province
__WARNING:__ all the values must be set, do not leave the fields blank!

VPNMAN Parameters

SERVER_ADDROpenVPN Server public IP or HOSTNAME
VPN_ROOT_PATHAbsolute path of your VPNMAN /vpn/ sub-folder (including the trailer slash)

Check Configuration

In the Check Configuration tab you can run some configuration checks:

  • Required PHP Modules;
  • Database connection;
  • CA keys;
  • Permission for VPN start/stop script execution;
  • VPN_ROOT_PATH write permission;
  • allow_vpn firewall chain;