summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-07-23 18:10:00 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-07-23 18:10:00 +0000
commitf462325b4e2478453ad3b5dc19130d0622ed64a6 (patch)
treed931207f750d9f07d57d8f26a9d299a2f16de8fe /usr
parent431484c8ef64f0f039333b8004106cb7d0f58def (diff)
downloadpfsense-f462325b4e2478453ad3b5dc19130d0622ed64a6.zip
pfsense-f462325b4e2478453ad3b5dc19130d0622ed64a6.tar.gz
Show the IPSEC firewall rule interface when mobile ipsec is enabled
Diffstat (limited to 'usr')
-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