example.3 revision 1.1.1.1
1# $NetBSD: example.3,v 1.1.1.1 2012/03/23 21:20:15 christos Exp $ 2# 3# block all inbound packets. 4# 5block in from any to any 6# 7# pass through packets to and from localhost. 8# 9pass in from 127.0.0.1/32 to 127.0.0.1/32 10# 11# allow a variety of individual hosts to send any type of IP packet to any 12# other host. 13# 14pass in from 10.1.3.1/32 to any 15pass in from 10.1.3.2/32 to any 16pass in from 10.1.3.3/32 to any 17pass in from 10.1.3.4/32 to any 18pass in from 10.1.3.5/32 to any 19pass in from 10.1.0.13/32 to any 20pass in from 10.1.1.1/32 to any 21pass in from 10.1.2.1/32 to any 22# 23# 24# block all outbound packets. 25# 26block out from any to any 27# 28# allow any packets destined for localhost out. 29# 30pass out from any to 127.0.0.1/32 31# 32# allow any host to send any IP packet out to a limited number of hosts. 33# 34pass out from any to 10.1.3.1/32 35pass out from any to 10.1.3.2/32 36pass out from any to 10.1.3.3/32 37pass out from any to 10.1.3.4/32 38pass out from any to 10.1.3.5/32 39pass out from any to 10.1.0.13/32 40pass out from any to 10.1.1.1/32 41pass out from any to 10.1.2.1/32 42