Location: PHPKode > projects > phpServerAdmin > phpserveradmin/pptpd/configuration.php
<?php

	// General
	define(TUNNEL_SUBNET,"192.168.1");
	$TUNNEL_SUBNET_IPS_EXCLUDED = array(1,2,3,4,5,6,7,8,9,10,254);	

	define(TUNNEL_SERVER,"*");	
	define(TUNNEL_SERVER_IP,"192.168.1.2");	

	// Database Connection Details.
	$db_host  		= "localhost";
	$db_username  = "phpserveradmin";
	$db_password  = "password";

  // Define tunnel name and password minumum and maximum limits.
	define( VPN_NAME_MIN_LENGTH	, 7 );
	define( VPN_NAME_MAX_LENGTH	, 20 );
	define( VPN_PASS_MIN_LENGTH	, 7 );
	define( VPN_PASS_MAX_LENGTH	, 20 );

  // Plugin disabling.
	$pptpd['plugins']['printers']['disabled'] = "";

  // NOTHING TO CONFIGURE UNDER THIS LINE

	define(DATEFORMAT,"d/m/Y h:i:s a");
	$acc_roles = array("1" => "super admin", "2" => "admin", "3" => "helpdesk", "4" => "users");

	// Still in progress, ACL control for admin logins.
	$pptpd['roles']['0']['name']="Site Admin";
	$pptpd['roles']['1']['name']="Admin";
	$pptpd['roles']['2']['name']="Helpdesk";
	$pptpd['roles']['3']['name']="User";				

?>
Return current item: phpServerAdmin