mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-03-22 11:17:31 +01:00
rule element by name after group is expanded, this helps ensure stable ordering of objects in generated configuration. * Compiler.cpp (replaceClusterInterfaceInItfRE::processNext): sorting objects in rule element after cluster interfaces have been replaced, this helps ensure stable ordering of objects in generated configuration. * FWObject.h (FWObjectNameCmpPredicate): moved this class from gui-specific module to libfwbuilder as it is universally useful. It can compare FWObject objects by name and can optionally can follow references; it can be used with std::sort() to sort lists of FWObject pointers or directly sort rule elements.
42 lines
1.4 KiB
Plaintext
Executable File
42 lines
1.4 KiB
Plaintext
Executable File
#
|
|
# This is automatically generated file. DO NOT MODIFY !
|
|
#
|
|
# Firewall Builder fwb_pf v4.2.0.3499
|
|
#
|
|
# Generated Sat Mar 12 19:45:10 2011 PST 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 "
|
|
|