Project

General

Profile

« Previous | Next » 

Revision 9bd3d159

Added by Scott Ullrich about 18 years ago

Show the IPSEC firewall rule interface when mobile ipsec is enabled

View differences:

usr/local/www/firewall_rules.php
53 53
	$iflist['pppoe'] = "PPPoE VPN";
54 54

  
55 55
/* add ipsec filter gif interfaces */
56
if (is_array($config['ipsec']['tunnel']) && isset($config['ipsec']['enable'])) {
56
if (is_array($config['ipsec']['tunnel']) && isset($config['ipsec']['enable']) 
57
    or $config['ipsec']['mobileclients']) {
57 58
	$a_ipsec = &$config['ipsec']['tunnel'];
58 59
	if(is_array($a_ipsec)) {
59 60
		$iflist["enc0"] = "IPsec";

Also available in: Unified diff