mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-03-20 02:07:23 +01:00
32 lines
933 B
Plaintext
32 lines
933 B
Plaintext
|
|
|
|
|
|
|
|
# Tables: (3)
|
|
table <tbl.r0.d> { ppp0 , 33.33.33.33 , 192.168.1.1 }
|
|
table <tbl.r0.s> { 192.168.1.10 , 192.168.1.20 }
|
|
table <tbl.r2.s> { 192.168.1.0/24 , 192.168.2.0/24 }
|
|
|
|
# Policy compiler errors and warnings:
|
|
# firewall11:Policy:0: warning: Changing rule direction due to self reference
|
|
# firewall11:Policy:1: warning: Changing rule direction due to self reference
|
|
#
|
|
# Rule 0 (global)
|
|
# firewall11:Policy:0: warning: Changing rule direction due to self reference
|
|
pass in quick inet proto tcp from <tbl.r0.s> to <tbl.r0.d> port 22 flags S/SA keep state
|
|
#
|
|
# Rule 1 (global)
|
|
# firewall11:Policy:1: warning: Changing rule direction due to self reference
|
|
block in quick inet from any to <tbl.r0.d>
|
|
#
|
|
# Rule 2 (global)
|
|
pass quick inet from <tbl.r2.s> to any keep state
|
|
#
|
|
# Rule 3 (global)
|
|
block quick inet from any to any
|
|
#
|
|
# Rule fallback rule
|
|
# fallback rule
|
|
block quick inet from any to any
|
|
|