]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sbin/pfctl/tests/files/pf0020.in
Upgrade Unbound to 1.8.0. More to follow.
[FreeBSD/FreeBSD.git] / sbin / pfctl / tests / files / pf0020.in
1 # Test whether list expansion in NAT/RDR works correctly
2
3 EVIL = "lo0"
4 GOOD = "{ lo0, lo1000000 }"
5 GOOD_NET = "{ 127.0.0.0/24, 10.0.1.0/24 }"
6 DEST_NET = "{ 1.2.3.4/25, 2.4.6.8/30 }"
7
8 #match out on $EVIL inet from $GOOD_NET to $DEST_NET nat-to $EVIL
9 #match in on $GOOD proto tcp from $GOOD_NET to $DEST_NET port 21 rdr-to 127.0.0.1 port 8021