Annotation of src/etc/pf.conf, Revision 1.48
1.48 ! sthen 1: # $OpenBSD: pf.conf,v 1.47 2009/09/07 09:48:38 jmc Exp $
1.1 kjell 2: #
1.48 ! sthen 3: # See pf.conf(5) for syntax and examples.
1.28 frantzen 4: # Remember to set net.inet.ip.forwarding=1 and/or net.inet6.ip6.forwarding=1
5: # in /etc/sysctl.conf if packets are to be forwarded between interfaces.
1.4 henning 6:
1.38 deraadt 7: set skip on lo
1.27 cedric 8:
1.45 henning 9: # filter rules and anchor for ftp-proxy(8)
1.38 deraadt 10: #anchor "ftp-proxy/*"
1.45 henning 11: #pass in quick proto tcp to port ftp rdr-to 127.0.0.1 port 8021
1.38 deraadt 12:
1.45 henning 13: # anchor for relayd(8)
1.38 deraadt 14: #anchor "relayd/*"
1.27 cedric 15:
1.42 henning 16: pass # to establish keep-state
1.46 todd 17:
18: # rules for spamd(8)
19: #table <spamd-white> persist
20: #table <nospamd> persist file "/etc/mail/nospamd"
1.47 jmc 21: #pass in on egress proto tcp from any to any port smtp \
22: # rdr-to 127.0.0.1 port spamd
23: #pass in on egress proto tcp from <nospamd> to any port smtp
24: #pass in on egress proto tcp from <spamd-white> to any port smtp
1.46 todd 25:
1.27 cedric 26:
1.38 deraadt 27: #block in quick from urpf-failed to any # use with care
1.27 cedric 28:
1.38 deraadt 29: # By default, do not permit remote connections to X11
1.44 sobrado 30: block in on ! lo0 proto tcp to port 6000:6010