$server) { # /* get tunnel interface */ # $tun = $server['tun_iface']; # # /* send SIGUSR1 to running openvpn daemon */ # if (isset($server['enable'])) # sigkillbypid($g['varrun_path']."/ovpn_srv_{$tun}.pid", "SIGUSR1"); # } # /* remove dirty flag */ unlink_if_exists($d_ovpnccddirty_path); $savemsg = get_std_save_message($retval); } if ($_GET['act'] == "del") { if ($ovpnccd[$id]) { $ovpnent = $ovpnccd[$id]; unset($ovpnccd[$id]); write_config(); /* Remove config files */ ovpn_server_ccd_del($ovpnent['cn']); header("Location: vpn_openvpn_ccd.php"); exit; } } else if ($_GET['act'] == "toggle") { if ($ovpnccd[$_GET['id']]) { $ovpnccd[$_GET['id']]['enable'] = !isset($ovpnccd[$_GET['id']]['enable']); write_config(); touch($d_ovpnccddirty_path); header("Location: vpn_openvpn_ccd.php"); exit; } } $pgtitle = "VPN: OpenVPN"; include("head.inc"); ?>

You must apply the changes in order for them to take effect.");?>
WARNING: This feature is experimental and modifies your optional interface configuration. Backup your configuration before using OpenVPN, and restore it before upgrading.
"; $spane = ""; $iconfn .= "_d"; } else { $spans = $spane = ""; } ?>
  Common Name Description
   
 
pass block        
pass (disabled)   block (disabled)