freebsd-dev/sbin/pfctl/tests/files/pf1005.ok
Kristof Provost db2380870c pf tests: Fix incorrect test for PR 231323
Fix r339466.  The test result file did not list the rdr rule.
Additionally, the route-to rule needs a redirection address.

X-MFC-with:	339466
2018-10-22 23:33:48 +00:00

4 lines
209 B
Plaintext

rdr on em0 inet proto tcp all -> 1.1.1.1 port 2121
pass out log quick on lo0 route-to (lo0 127.0.0.1) inet all flags S/SA keep state
pass in log quick on lo0 route-to (lo0 ::1) inet6 all flags S/SA keep state