Skip to content

Configuration

Federico Sartini edited this page Apr 13, 2015 · 2 revisions

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_FILE Path of CA certificate file (.crt)
CA_KEY_FILE Path of CA private key file (.key)
CA_PASSPHRASE Optional 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_CODE Certificate country code
SERVER_EMAIL Certificate reference mail
SERVER_LOCALITY Certificate locality
SERVER_ORG_NAME Certificate organization name
SERVER_ORG_UNIT Certificate organization unit
SERVER_ORG_UNIT Certificate state or province
__WARNING:__ all the values must be set, do not leave the fields blank!

VPNMAN Parameters

SERVER_ADDR OpenVPN Server public IP or HOSTNAME
VPN_ROOT_PATH Absolute 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;
Clone this wiki locally