1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2025-10-16 07:28:25 +02:00
fwbuilder/test/pf/firewall21-NAT_1.conf.orig
Vadim Kurland 344a22feed see #2524 'avoid " {tcp udp icmp} " in place of protocol'. NAT
compiler for PF does not need to generate protocol match "proto {tcp
udp icmp}" when service object used in the NAT rule is "any". The
reason this was done this way is lost in the mist of time; it's been
like this since very early versions of fwbuilder.
2011-06-22 11:03:07 -07:00

6 lines
124 B
Plaintext

#
# Rule NAT_1 0 (NAT)
nat on en1 from 192.168.1.0/24 to any -> (en1)
nat on en0 from 192.168.1.0/24 to any -> (en0)