mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-09-11 07:31:25 +02:00
one more nat rule for pf
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!DOCTYPE FWObjectDatabase SYSTEM "fwbuilder.dtd">
|
<!DOCTYPE FWObjectDatabase SYSTEM "fwbuilder.dtd">
|
||||||
<FWObjectDatabase xmlns="http://www.fwbuilder.org/1.0/" version="9" lastModified="1215405080" id="root">
|
<FWObjectDatabase xmlns="http://www.fwbuilder.org/1.0/" version="9" lastModified="1215407591" id="root">
|
||||||
<Library id="sysid99" name="Deleted Objects" ro="False">
|
<Library id="sysid99" name="Deleted Objects" ro="False">
|
||||||
<ICMP6Service id="idE0C27650" name="ipv6 dest unreachable" comment="No route to destination" code="0" type="1"/>
|
<ICMP6Service id="idE0C27650" name="ipv6 dest unreachable" comment="No route to destination" code="0" type="1"/>
|
||||||
<Library id="id40E233F3" name="West Coast" color="#FFFFFF" ro="False">
|
<Library id="id40E233F3" name="West Coast" color="#FFFFFF" ro="False">
|
||||||
@@ -98,6 +98,7 @@
|
|||||||
<ServiceRef ref="id3B58E3F1"/>
|
<ServiceRef ref="id3B58E3F1"/>
|
||||||
<ServiceRef ref="sysid1"/>
|
<ServiceRef ref="sysid1"/>
|
||||||
<ServiceRef ref="id3C6820443"/>
|
<ServiceRef ref="id3C6820443"/>
|
||||||
|
<ObjectRef ref="sysid0"/>
|
||||||
</Library>
|
</Library>
|
||||||
<Library id="syslib001" name="User" comment="User defined objects" color="#d2ffd0" ro="False">
|
<Library id="syslib001" name="User" comment="User defined objects" color="#d2ffd0" ro="False">
|
||||||
<ObjectGroup id="stdid01_1" name="Objects">
|
<ObjectGroup id="stdid01_1" name="Objects">
|
||||||
@@ -2369,7 +2370,7 @@
|
|||||||
<Option name="use_tables">True</Option>
|
<Option name="use_tables">True</Option>
|
||||||
</FirewallOptions>
|
</FirewallOptions>
|
||||||
</Firewall>
|
</Firewall>
|
||||||
<Firewall id="id3AFB66C6" name="firewall2" comment="this object has several interfaces and shows different rules for NAT. Also testing policy rule options " host_OS="openbsd" inactive="False" lastCompiled="1157930805" lastInstalled="0" lastModified="1210452316" platform="pf" ro="False" version="">
|
<Firewall id="id3AFB66C6" name="firewall2" comment="this object has several interfaces and shows different rules for NAT. Also testing policy rule options " host_OS="openbsd" inactive="False" lastCompiled="1157930805" lastInstalled="0" lastModified="1215407591" platform="pf" ro="False" version="">
|
||||||
<NAT id="id3AFB66C7" name="NAT" ipv6_rule_set="False">
|
<NAT id="id3AFB66C7" name="NAT" ipv6_rule_set="False">
|
||||||
<NATRule id="id3AFB66C8" disabled="False" position="0">
|
<NATRule id="id3AFB66C8" disabled="False" position="0">
|
||||||
<OSrc neg="False">
|
<OSrc neg="False">
|
||||||
@@ -2887,7 +2888,28 @@
|
|||||||
</TSrv>
|
</TSrv>
|
||||||
<NATRuleOptions/>
|
<NATRuleOptions/>
|
||||||
</NATRule>
|
</NATRule>
|
||||||
<NATRule id="id3B7313C4" disabled="False" position="23">
|
<NATRule id="id546F21844" disabled="False" group="" position="23">
|
||||||
|
<OSrc neg="False">
|
||||||
|
<ObjectRef ref="sysid0"/>
|
||||||
|
</OSrc>
|
||||||
|
<ODst neg="False">
|
||||||
|
<ObjectRef ref="id3AFB6706-ipv4"/>
|
||||||
|
</ODst>
|
||||||
|
<OSrv neg="False">
|
||||||
|
<ServiceRef ref="id3B20468D"/>
|
||||||
|
</OSrv>
|
||||||
|
<TSrc neg="False">
|
||||||
|
<ObjectRef ref="id3AFB6703-ipv4"/>
|
||||||
|
</TSrc>
|
||||||
|
<TDst neg="False">
|
||||||
|
<ObjectRef ref="host-hostA"/>
|
||||||
|
</TDst>
|
||||||
|
<TSrv neg="False">
|
||||||
|
<ServiceRef ref="id3B20468D"/>
|
||||||
|
</TSrv>
|
||||||
|
<NATRuleOptions/>
|
||||||
|
</NATRule>
|
||||||
|
<NATRule id="id3B7313C4" disabled="False" position="24">
|
||||||
<OSrc neg="False">
|
<OSrc neg="False">
|
||||||
<ObjectRef ref="sysid0"/>
|
<ObjectRef ref="sysid0"/>
|
||||||
</OSrc>
|
</OSrc>
|
||||||
@@ -2908,7 +2930,7 @@
|
|||||||
</TSrv>
|
</TSrv>
|
||||||
<NATRuleOptions/>
|
<NATRuleOptions/>
|
||||||
</NATRule>
|
</NATRule>
|
||||||
<NATRule id="id3E59ADF3" disabled="False" position="24">
|
<NATRule id="id3E59ADF3" disabled="False" position="25">
|
||||||
<OSrc neg="False">
|
<OSrc neg="False">
|
||||||
<ObjectRef ref="net-Internal_net"/>
|
<ObjectRef ref="net-Internal_net"/>
|
||||||
</OSrc>
|
</OSrc>
|
||||||
@@ -2929,7 +2951,7 @@
|
|||||||
</TSrv>
|
</TSrv>
|
||||||
<NATRuleOptions/>
|
<NATRuleOptions/>
|
||||||
</NATRule>
|
</NATRule>
|
||||||
<NATRule id="id40ECF000" disabled="False" position="25">
|
<NATRule id="id40ECF000" disabled="False" position="26">
|
||||||
<OSrc neg="False">
|
<OSrc neg="False">
|
||||||
<ObjectRef ref="net-Internal_net"/>
|
<ObjectRef ref="net-Internal_net"/>
|
||||||
</OSrc>
|
</OSrc>
|
||||||
@@ -2950,7 +2972,7 @@
|
|||||||
</TSrv>
|
</TSrv>
|
||||||
<NATRuleOptions/>
|
<NATRuleOptions/>
|
||||||
</NATRule>
|
</NATRule>
|
||||||
<NATRule id="id3E59AC6D" disabled="False" position="26">
|
<NATRule id="id3E59AC6D" disabled="False" position="27">
|
||||||
<OSrc neg="False">
|
<OSrc neg="False">
|
||||||
<ObjectRef ref="sysid0"/>
|
<ObjectRef ref="sysid0"/>
|
||||||
</OSrc>
|
</OSrc>
|
||||||
@@ -2971,7 +2993,7 @@
|
|||||||
</TSrv>
|
</TSrv>
|
||||||
<NATRuleOptions/>
|
<NATRuleOptions/>
|
||||||
</NATRule>
|
</NATRule>
|
||||||
<NATRule id="id41F9FFBB" disabled="False" position="27">
|
<NATRule id="id41F9FFBB" disabled="False" position="28">
|
||||||
<OSrc neg="False">
|
<OSrc neg="False">
|
||||||
<ObjectRef ref="net-Internal_net"/>
|
<ObjectRef ref="net-Internal_net"/>
|
||||||
</OSrc>
|
</OSrc>
|
||||||
@@ -2992,7 +3014,7 @@
|
|||||||
</TSrv>
|
</TSrv>
|
||||||
<NATRuleOptions/>
|
<NATRuleOptions/>
|
||||||
</NATRule>
|
</NATRule>
|
||||||
<NATRule id="id41FA0A82" disabled="False" position="28">
|
<NATRule id="id41FA0A82" disabled="False" position="29">
|
||||||
<OSrc neg="False">
|
<OSrc neg="False">
|
||||||
<ObjectRef ref="net-Internal_net"/>
|
<ObjectRef ref="net-Internal_net"/>
|
||||||
</OSrc>
|
</OSrc>
|
||||||
@@ -3325,16 +3347,16 @@
|
|||||||
</Policy>
|
</Policy>
|
||||||
<Routing id="id3AFB66C6-routing" name="Routing" ipv6_rule_set="False"/>
|
<Routing id="id3AFB66C6-routing" name="Routing" ipv6_rule_set="False"/>
|
||||||
<Interface id="id3AFB6703" name="eth0" bridgeport="False" dyn="False" security_level="100" unnum="False" unprotected="False">
|
<Interface id="id3AFB6703" name="eth0" bridgeport="False" dyn="False" security_level="100" unnum="False" unprotected="False">
|
||||||
<IPv4 id="id3AFB6703-ipv4" name="address" address="192.168.1.1" netmask="255.255.255.0"/>
|
<IPv4 id="id3AFB6703-ipv4" name="fw2:eth0:ip" address="192.168.1.1" netmask="255.255.255.0"/>
|
||||||
</Interface>
|
</Interface>
|
||||||
<Interface id="id3AFB6706" name="eth1" bridgeport="False" dyn="False" security_level="0" unnum="False" unprotected="False">
|
<Interface id="id3AFB6706" name="eth1" bridgeport="False" dyn="False" security_level="0" unnum="False" unprotected="False">
|
||||||
<IPv4 id="id3AFB6706-ipv4" name="address" address="22.22.22.22" netmask="255.255.255.0"/>
|
<IPv4 id="id3AFB6706-ipv4" name="fw2:eth1:ip" address="22.22.22.22" netmask="255.255.255.0"/>
|
||||||
</Interface>
|
</Interface>
|
||||||
<Interface id="id3AFB68D2" name="eth3" bridgeport="False" dyn="False" security_level="0" unnum="False" unprotected="False">
|
<Interface id="id3AFB68D2" name="eth3" bridgeport="False" dyn="False" security_level="0" unnum="False" unprotected="False">
|
||||||
<IPv4 id="id3AFB68D2-ipv4" name="address" address="22.22.23.23" netmask="255.255.255.0"/>
|
<IPv4 id="id3AFB68D2-ipv4" name="fw2:eth3:ip" address="22.22.23.23" netmask="255.255.255.0"/>
|
||||||
</Interface>
|
</Interface>
|
||||||
<Interface id="id3B0221F1" name="eth2" bridgeport="False" dyn="False" label="" mgmt="True" security_level="100" unnum="False" unprotected="False">
|
<Interface id="id3B0221F1" name="eth2" bridgeport="False" dyn="False" label="" mgmt="True" security_level="100" unnum="False" unprotected="False">
|
||||||
<IPv4 id="id3B0221F1-ipv4" name="address" address="192.168.2.1" netmask="255.255.255.0"/>
|
<IPv4 id="id3B0221F1-ipv4" name="fw2:eth2:ip" address="192.168.2.1" netmask="255.255.255.0"/>
|
||||||
</Interface>
|
</Interface>
|
||||||
<Interface id="id3CD2449F" name="lo" bridgeport="False" dyn="False" label="" security_level="100" unnum="False" unprotected="False">
|
<Interface id="id3CD2449F" name="lo" bridgeport="False" dyn="False" label="" security_level="100" unnum="False" unprotected="False">
|
||||||
<IPv4 id="id3CD2449F-ipv4" name="lo:ip" address="127.0.0.1" netmask="255.0.0.0"/>
|
<IPv4 id="id3CD2449F-ipv4" name="lo:ip" address="127.0.0.1" netmask="255.0.0.0"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user