mirror of
https://github.com/fwbuilder/fwbuilder
synced 2025-10-16 15:38:43 +02:00
29 lines
902 B
Plaintext
29 lines
902 B
Plaintext
|
|
|
|
|
|
#
|
|
# Rule 0 (global)
|
|
anchor "mail_server_inbound" inet from any to 192.168.1.10
|
|
#
|
|
# Rule 1 (global)
|
|
anchor "mail_server_outbound" inet from 192.168.1.10 to any
|
|
#
|
|
# Rule 2 (global)
|
|
anchor "web_server_inbound" inet from any to 192.168.1.20
|
|
#
|
|
# Rule 3 (global)
|
|
anchor "web_server_outbound" inet from 192.168.1.20 to any
|
|
#
|
|
# Rule 4 (global)
|
|
anchor "rule2_branch" inet from 192.168.1.0/24 to any
|
|
#
|
|
# Rule fallback rule
|
|
# fallback rule
|
|
block quick inet from any to any
|
|
|
|
load anchor mail_server_inbound from "/etc/fw/firewall51-mail_server_inbound.conf"
|
|
load anchor mail_server_outbound from "/etc/fw/firewall51-mail_server_outbound.conf"
|
|
load anchor rule2_branch from "/etc/fw/firewall51-rule2_branch.conf"
|
|
load anchor web_server_inbound from "/etc/fw/firewall51-web_server_inbound.conf"
|
|
load anchor web_server_outbound from "/etc/fw/firewall51-web_server_outbound.conf"
|