Project

General

Profile

« Previous | Next » 

Revision 9b16b834

Added by Ermal Luçi over 15 years ago

Ticket #136.

Fix associated nat rules.
Now both the filter rules and the nat ones contain a associated-rule-id tag which helps link the items together.
The API to use for this is in itemid.inc.

All the issues should be solved now.

View differences:

conf.default/config.xml
441 441
			<target></target>
442 442
			<local-port></local-port>
443 443
			<descr></descr>
444
			<associated-filter-rule-id></associated-filter-rule-id>
444
			<associated-rule-id></associated-rule-id>
445 445
		</rule>
446 446
		-->
447 447
		<!--
......
491 491
			<destination>
492 492
				<any/>
493 493
			</destination>
494
			<associated-nat-rule-id></associated-nat-rule-id>
494
			<associated-rule-id></associated-rule-id>
495 495
		</rule>
496 496
		<!-- rule syntax:
497 497
		<rule>
......
793 793
	<widgets>
794 794
		<sequence>system_information-container:col1:show,captive_portal_status-container:col1:close,carp_status-container:col1:close,cpu_graphs-container:col1:close,gateways-container:col1:close,gmirror_status-container:col1:close,installed_packages-container:col1:close,interface_statistics-container:col1:close,interfaces-container:col2:show,ipsec-container:col2:close,load_balancer_status-container:col2:close,log-container:col2:close,picture-container:col2:close,rss-container:col2:close,services_status-container:col2:close,traffic_graphs-container:col2:close</sequence>
795 795
	</widgets>
796
</pfsense>
796
</pfsense>

Also available in: Unified diff