NetBSD/tests/ipf/regress/ni6.ipf
jmmv b9daf172a0 Add the ipf tests developed by Lukasz Strzygowski as part of the atfify
GSoC 2008 project.  These were originally inside the kernel subdirectory
but I think they belong in their own top-level directory because ipf
consists of more components than just the kernel-level packet filter.
2009-02-20 21:42:59 +00:00

10 lines
490 B
Igor

block out log quick on qfe0 from 192.168.7.0/24 to any
block out log quick on nf0 from 192.168.6.0/24 to any
pass in quick on nf0 proto tcp from any to any port = 111 flags S keep state
pass in quick on nf0 proto udp from any to any port = 111 keep state
block return-rst in log quick on nf0 proto tcp from any to any
block in log quick on nf0 from 192.168.7.0/24 to any
block return-rst in log quick on qfe0 proto tcp from any to any
block in log quick on qfe0 from 192.168.6.0/24 to any