NetBSD/dist/ipf/rules/example.9

14 lines
354 B
Groff

# $NetBSD: example.9,v 1.1.1.1 1999/12/11 22:24:12 veego Exp $
#
# drop all packets without IP security options
#
block in all
pass in all with opt sec
#
# only allow packets in and out on le0 which are top secret
#
block out on le1 all
pass out on le1 all with opt sec-class topsecret
block in on le1 all
pass in on le1 all with opt sec-class topsecret