mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-03-21 10:47:16 +01:00
32 lines
817 B
Plaintext
32 lines
817 B
Plaintext
|
|
|
|
|
|
#
|
|
# Rule 0 (NAT)
|
|
nat on dc2 proto {tcp udp icmp} from 192.168.1.0/24 to any -> 192.168.1.1
|
|
nat on dc0 proto {tcp udp icmp} from 192.168.1.0/24 to any -> { 10.1.1.1 , 222.222.222.20 , 222.222.222.21 }
|
|
#
|
|
# Rule 1 (NAT)
|
|
nat on dc1 proto {tcp udp icmp} from 192.168.1.0/24 to any -> 222.222.222.20
|
|
#
|
|
# Rule 2 (NAT)
|
|
nat on dc1 proto {tcp udp icmp} from 192.168.1.0/24 to any -> 222.222.222.20
|
|
#
|
|
# Rule 3 (NAT)
|
|
nat on dc0 proto {tcp udp icmp} from 192.168.1.0/24 to any -> 222.222.222.21
|
|
|
|
#
|
|
# Rule 0 (dc0)
|
|
pass in quick on dc0 inet from any to 222.222.222.22 keep state
|
|
#
|
|
# Rule 1 (dc1)
|
|
pass out quick on dc1 inet from any to 222.222.222.22 keep state
|
|
#
|
|
# Rule 2 (global)
|
|
block quick inet from any to any
|
|
#
|
|
# Rule fallback rule
|
|
# fallback rule
|
|
block quick inet from any to any
|
|
|