summaryrefslogtreecommitdiffstats
path: root/conf.default/config.xml
diff options
context:
space:
mode:
authorpierrepomes <pierre.pomes@interface-tech.com>2009-12-12 15:57:19 -0500
committerpierrepomes <pierre.pomes@interface-tech.com>2009-12-12 15:57:19 -0500
commit473d0ff02fb2dddca7e98435614a0a47ba5e7115 (patch)
treec416bdc464af6baac8c698a412513f76b05238c7 /conf.default/config.xml
parent1b6650903ac0770344012baee77c145b48d7b488 (diff)
downloadpfsense-473d0ff02fb2dddca7e98435614a0a47ba5e7115.zip
pfsense-473d0ff02fb2dddca7e98435614a0a47ba5e7115.tar.gz
Add patch from lietu (Janne Enberg). Ticket #136
1) Multiple NAT rules can be assigned the same filter rule -> Fixed, added assigned-nat-rule-id to filter rules to keep track of the assignment 2) when removing the link (i.e. switching to "pass" or "none", the linked rule isn't deleted (should it be? probably yes) -> Fixed, when a NAT rule's association is removed, the filter rule is deleted. Added a "create new associated filter rule" option to the dropdown if there is none selected. 3) The destination IP and port of linked rules can be edited in firewall_rules_edit.php and shouldn't be. Source should be editable but not destination, since that should strictly be tied to the NAT rule. -> Fixed, you cannot edit the destination for the filter rules that are linked to NAT rules, this has been disabled both by JavaScript and PHP. 4) If you edit the source in a linked firewall rule, it gets overwritten when you edit the NAT rule. The NAT rule should never touch the firewall rule source after the rule exists. -> Fixed, previously the old rule was deleted and a new one created, now it only updates the old rule and doesn't touch the source. Also added crosslinking from the NAT rule to the filter rule and back, so you can jump to edit the filter rule from the NAT rule and vice-versa.
Diffstat (limited to 'conf.default/config.xml')
-rw-r--r--conf.default/config.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/conf.default/config.xml b/conf.default/config.xml
index 32b4d6f..da74d68 100644
--- a/conf.default/config.xml
+++ b/conf.default/config.xml
@@ -491,6 +491,7 @@
<destination>
<any/>
</destination>
+ <associated-nat-rule-id></associated-nat-rule-id>
</rule>
<!-- rule syntax:
<rule>
OpenPOWER on IntegriCloud