diff options
author | jim-p <jimp@pfsense.org> | 2013-03-20 15:58:13 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2013-03-20 15:58:13 -0400 |
commit | 33cc1e867728faeeae0716300fc13c6f2824b53d (patch) | |
tree | 47b3ab4ab83b52e1754ba15239fc5f15c6035f81 /usr/local/www/firewall_nat_out.php | |
parent | daffbc34a912caeab791d2aa31ee70e1aed5a8e1 (diff) | |
download | pfsense-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-x | usr/local/www/firewall_nat_out.php | 7 |
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; } } |