xref: /freebsd/sbin/pfctl/tests/files/pf0019.in (revision a03411e84728e9b267056fd31c7d1d9d1dc1b01e)
1EVIL = "lo0"
2GOOD = "{ lo0, lo1000000 }"
3GOOD_NET = "{ 127.0.0.0/24, 10.0.1.0/24 }"
4DEST_NET = "{ 1.2.3.4/25, 2.4.6.8/30 }"
5
6#match in on lo0 proto tcp from any to 1.2.3.4/32 port 2222 rdr-to 10.0.0.10 port 22
7
8# Test list processing
9#match in on $GOOD proto tcp from $GOOD_NET to $DEST_NET port 21 rdr-to 127.0.0.1 port 8021
10