From 83ea20a819e70ee99631a0a56ea268717f795f79 Mon Sep 17 00:00:00 2001 From: deraadt Date: Sat, 23 Aug 2014 05:49:42 +0000 Subject: [PATCH] Shrink this to the minimum, but reference /etc/examples/pf.conf (someone should really sit down and flesh out the examples) --- etc/pf.conf | 28 ++-------------------------- 1 file changed, 2 insertions(+), 26 deletions(-) diff --git a/etc/pf.conf b/etc/pf.conf index db7d99f2177..011336cbd4d 100644 --- a/etc/pf.conf +++ b/etc/pf.conf @@ -1,35 +1,11 @@ -# $OpenBSD: pf.conf,v 1.53 2014/01/25 10:28:36 dtucker Exp $ +# $OpenBSD: pf.conf,v 1.54 2014/08/23 05:49:42 deraadt Exp $ # -# See pf.conf(5) for syntax and examples. -# Remember to set net.inet.ip.forwarding=1 and/or net.inet6.ip6.forwarding=1 -# in /etc/sysctl.conf if packets are to be forwarded between interfaces. - -# increase default state limit from 10'000 states on busy systems -#set limit states 100000 +# See pf.conf(5) and /etc/examples/pf.conf set skip on lo -# filter rules and anchor for ftp-proxy(8) -#anchor "ftp-proxy/*" -#pass in quick inet proto tcp to port ftp divert-to 127.0.0.1 port 8021 - -# anchor for relayd(8) -#anchor "relayd/*" - block return # block stateless traffic pass # establish keep-state -# rules for spamd(8) -#table persist -#table persist file "/etc/mail/nospamd" -#pass in on egress proto tcp from any to any port smtp \ -# rdr-to 127.0.0.1 port spamd -#pass in on egress proto tcp from to any port smtp -#pass in log on egress proto tcp from to any port smtp -#pass out log on egress proto tcp to any port smtp - - -#block in quick from urpf-failed to any # use with care - # By default, do not permit remote connections to X11 block return in on ! lo0 proto tcp to port 6000:6010 -- 2.20.1