Annotation of src/etc/pf.conf, Revision 1.27
1.26 david 1: # $OpenBSD: pf.conf,v 1.25 2004/01/29 18:54:29 todd Exp $
1.1 kjell 2: #
1.12 henning 3: # See pf.conf(5) and /usr/share/pf for syntax and examples.
1.4 henning 4:
1.27 ! cedric 5: #ext_if="ext0"
! 6: #int_if="int0"
1.19 ian 7:
1.16 jason 8: #table <spamd> persist
1.27 ! cedric 9: #table <spamd-white> persist
1.12 henning 10:
1.27 ! cedric 11: #scrub in
! 12:
! 13: #nat on $ext_if from !($ext_if) -> ($ext_if:0)
! 14: #rdr pass on $int_if proto tcp to port ftp -> 127.0.0.1 port 8021
! 15: #rdr pass on $ext_if proto tcp from <spamd> to port smtp \
! 16: # -> 127.0.0.1 port spamd
! 17: #rdr pass on $ext_if proto tcp from !<spamd-white> to port smtp \
! 18: # -> 127.0.0.1 port spamd
! 19:
! 20: #block in
! 21: #pass out keep state
! 22:
! 23: #pass quick on { lo $int_if }
! 24: #antispoof quick for { lo $int_if }
! 25:
! 26: #pass in on $ext_if proto tcp to ($ext_if) port ssh keep state
! 27: #pass in on $ext_if proto tcp to ($ext_if) port > 49151 user proxy keep state
! 28: #pass in log on $ext_if proto tcp to ($ext_if) port smtp keep state
! 29: #pass out log on $ext_if proto tcp from ($ext_if) to port smtp keep state