summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_nat_out.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2013-03-20 15:58:13 -0400
committerjim-p <jimp@pfsense.org>2013-03-20 15:58:13 -0400
commit33cc1e867728faeeae0716300fc13c6f2824b53d (patch)
tree47b3ab4ab83b52e1754ba15239fc5f15c6035f81 /usr/local/www/firewall_nat_out.php
parentdaffbc34a912caeab791d2aa31ee70e1aed5a8e1 (diff)
downloadpfsense-33cc1e867728faeeae0716300fc13c6f2824b53d.zip
pfsense-33cc1e867728faeeae0716300fc13c6f2824b53d.tar.gz
Add the user/time tracking to Port forwards and outbound NAT also.
Diffstat (limited to 'usr/local/www/firewall_nat_out.php')
-rwxr-xr-xusr/local/www/firewall_nat_out.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/usr/local/www/firewall_nat_out.php b/usr/local/www/firewall_nat_out.php
index 5c445ed..654bbe4 100755
--- a/usr/local/www/firewall_nat_out.php
+++ b/usr/local/www/firewall_nat_out.php
@@ -113,6 +113,7 @@ if (isset($_POST['save']) && $_POST['save'] == "Save") {
$natent['interface'] = $if2;
$natent['destination']['any'] = true;
$natent['staticnatport'] = true;
+ $natent['created'] = make_config_revision_entry(null, gettext("Manual Outbound NAT Switch"));
$a_out[] = $natent;
$natent = array();
@@ -123,6 +124,7 @@ if (isset($_POST['save']) && $_POST['save'] == "Save") {
$natent['interface'] = $if2;
$natent['destination']['any'] = true;
$natent['natport'] = "";
+ $natent['created'] = make_config_revision_entry(null, gettext("Manual Outbound NAT Switch"));
$a_out[] = $natent;
$natent = array();
@@ -134,6 +136,7 @@ if (isset($_POST['save']) && $_POST['save'] == "Save") {
$natent['destination']['any'] = true;
$natent['staticnatport'] = false;
$natent['natport'] = "1024:65535";
+ $natent['created'] = make_config_revision_entry(null, gettext("Manual Outbound NAT Switch"));
$a_out[] = $natent;
/* PPTP subnet */
@@ -150,6 +153,7 @@ if (isset($_POST['save']) && $_POST['save'] == "Save") {
$natent['interface'] = $if2;
$natent['destination']['any'] = true;
$natent['natport'] = "";
+ $natent['created'] = make_config_revision_entry(null, gettext("Manual Outbound NAT Switch"));
$a_out[] = $natent;
}
}
@@ -170,6 +174,7 @@ if (isset($_POST['save']) && $_POST['save'] == "Save") {
$natent['interface'] = $if2;
$natent['destination']['any'] = true;
$natent['natport'] = "";
+ $natent['created'] = make_config_revision_entry(null, gettext("Manual Outbound NAT Switch"));
$a_out[] = $natent;
}
}
@@ -190,6 +195,7 @@ if (isset($_POST['save']) && $_POST['save'] == "Save") {
$natent['interface'] = $if2;
$natent['destination']['any'] = true;
$natent['natport'] = "";
+ $natent['created'] = make_config_revision_entry(null, gettext("Manual Outbound NAT Switch"));
$a_out[] = $natent;
}
}
@@ -204,6 +210,7 @@ if (isset($_POST['save']) && $_POST['save'] == "Save") {
$natent['interface'] = $if2;
$natent['destination']['any'] = true;
$natent['natport'] = "";
+ $natent['created'] = make_config_revision_entry(null, gettext("Manual Outbound NAT Switch"));
$a_out[] = $natent;
}
}
OpenPOWER on IntegriCloud