summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_nat_edit.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-04-04 21:18:19 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-04-04 21:18:19 +0000
commit514dbaf8f0538e48ec1c60fde8d72d7ae18cd4ce (patch)
tree692543eb1db0d10c16c760e50a895dd35a1a06e7 /usr/local/www/firewall_nat_edit.php
parent801d50beb81abd8aae7392f727765369cd4179d6 (diff)
downloadpfsense-514dbaf8f0538e48ec1c60fde8d72d7ae18cd4ce.zip
pfsense-514dbaf8f0538e48ec1c60fde8d72d7ae18cd4ce.tar.gz
When adding a redirect for FTP alert the user that it really creates 2 firewall rules
Ticket #899
Diffstat (limited to 'usr/local/www/firewall_nat_edit.php')
-rwxr-xr-xusr/local/www/firewall_nat_edit.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/usr/local/www/firewall_nat_edit.php b/usr/local/www/firewall_nat_edit.php
index de64ca0..80fab33 100755
--- a/usr/local/www/firewall_nat_edit.php
+++ b/usr/local/www/firewall_nat_edit.php
@@ -222,6 +222,14 @@ if ($_POST) {
$config['filter']['rule'][] = $filterent;
+ touch($d_filterconfdirty_path);
+
+ write_config();
+
+ header("Location: firewall_nat.php?savemsg=The%20changes%20have%20been%20saved.%20%20Please%20note%20that%20we%20have%20added%20an%20additional%20rule%20for%20the%20FTP%20helper.");
+
+ exit;
+
}
touch($d_filterconfdirty_path);
OpenPOWER on IntegriCloud