summaryrefslogtreecommitdiff
path: root/regress/sbin/pfctl/pf48.in
diff options
context:
space:
mode:
Diffstat (limited to 'regress/sbin/pfctl/pf48.in')
-rw-r--r--regress/sbin/pfctl/pf48.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/regress/sbin/pfctl/pf48.in b/regress/sbin/pfctl/pf48.in
new file mode 100644
index 00000000000..6e408028793
--- /dev/null
+++ b/regress/sbin/pfctl/pf48.in
@@ -0,0 +1,12 @@
+table <regress> { 1.2.3.4 !5.6.7.8 10/8 lo0 }
+table <regress.1> const { ::1 fe80::/64 localhost }
+scrub in from { <regress.1> !<regress.2> } to any
+scrub out from any to { !<regress.1>, <regress.2> }
+nat on lo0 from <regress.1> to <regress.2> -> lo0
+nat on !lo0 from !<regress.1> to <regress.2> -> lo0
+rdr on lo0 from <regress.1> to <regress.2> -> lo0
+rdr on !lo0 from !<regress.1> to <regress.2> -> lo0
+pass in from <regress> to any
+pass out from any to <regress>
+pass in from { <regress.1> <regress.2> } to any
+pass out from any to { !<regress.1>, !<regress.2> }