1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-03-19 01:37:17 +01:00
fwbuilder/test/pf/firewall106.fw.orig
Vadim Kurland 15bab71f49 * NATCompiler_ipt.cpp (compile): see #2456 Added support for
single object negation in "Inbound Interface" and "Outbound
Interface" columns in compiler for iptables.

* NATCompiler_pf.cpp (compile): see #2456 Added support for single
object negation in "Interface" rule element of PF NAT rules. Now
compiler can produce PF commands such as "nat on ! em0 ... " (for
PF <4.7) or "match on ! em0 ..." (for PF >= 4.7)

* Compiler.cpp (singleObjectNegation::processNext): moved rule
processor that processes single object negation in any rule
element to the base class Compiler.
2011-06-03 17:54:14 -07:00

42 lines
1.4 KiB
Plaintext
Executable File

#
# This is automatically generated file. DO NOT MODIFY !
#
# Firewall Builder fwb_pf v5.0.0.3547
#
# Generated Fri Jun 3 17:49:20 2011 PDT by vadim
#
# files: * firewall106.fw /etc/fw/pf.fw
# files: firewall106.conf /etc/fw/path\ with\ space/pf.conf
#
# Compiled for pf 4.7
#
# bridge interface, dynamic address, rc.conf format, with STP
# firewall106:Routing:1: error: Gateway and interface are both empty in the rule
# firewall106:Routing:1: error: Rules 0 (main) and 1 (main) define routes to the same destination 0.0.0.0/0.0.0.0 via different gateways. This configuration is not supported for freebsd
# firewall106:Routing:4: warning: Two of the routing commands created from the gui routing rules 3 (main) and 4 (main) are identical, skipping the second. Revise them to avoid this warning
gateway_enable="YES"
cloned_interfaces="bridge0"
network_interfaces="bridge0 em0 em1"
ifconfig_em0="10.3.14.81 netmask 0xffffff00"
ifconfig_em1="10.1.1.81 netmask 0xffffff00"
ifconfig_em2="up"
ifconfig_em3="up"
ifconfig_bridge0="addm em2 stp em2 addm em3 stp em3 up DHCP"
pf_enable="YES"
pf_rules="/etc/fw/path\ with\ space/pf.conf"
static_routes="route_0 route_1 route_2 route_3 route_4"
route_route_0="default 10.1.1.1 "
route_route_1="default "
route_route_2="192.168.171.2 10.1.1.1 "
route_route_3="22.22.22.0/24 10.1.1.1 "
route_route_4="33.33.33.0/24 10.1.1.1 "