summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/firewall_rules.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/firewall_rules.php b/usr/local/www/firewall_rules.php
index f19a3b5..a150dc9 100755
--- a/usr/local/www/firewall_rules.php
+++ b/usr/local/www/firewall_rules.php
@@ -53,7 +53,8 @@ if ($config['pppoe']['mode'] == "server")
$iflist['pppoe'] = "PPPoE VPN";
/* add ipsec filter gif interfaces */
-if (is_array($config['ipsec']['tunnel']) && isset($config['ipsec']['enable'])) {
+if (is_array($config['ipsec']['tunnel']) && isset($config['ipsec']['enable'])
+ or $config['ipsec']['mobileclients']) {
$a_ipsec = &$config['ipsec']['tunnel'];
if(is_array($a_ipsec)) {
$iflist["enc0"] = "IPsec";
OpenPOWER on IntegriCloud