summaryrefslogtreecommitdiff
path: root/dist/ipf/rules/example.9
blob: 43cd864572ec4d3452e920a711d1dec4eb613e49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#	$NetBSD: example.9,v 1.2 2002/09/19 08:08:23 martti Exp $
#
# drop all packets without IP security options
#
block in all
pass in all with opt sec
#
# only allow packets in and out on le1 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