diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2001-07-20 15:42:40 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2001-07-20 15:42:40 +0000 |
commit | c629cb72863bd875965219e7aef179b373814ec9 (patch) | |
tree | a45c1df71a818786349dcf094cc599a252fc98be | |
parent | fc223656d8469d078ebca648bf97951f04d4536d (diff) |
fix example: you need 'proto' if you specify ports
-rw-r--r-- | share/man/man5/pf.conf.5 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/share/man/man5/pf.conf.5 b/share/man/man5/pf.conf.5 index f5ba08a44a4..475d3e10a59 100644 --- a/share/man/man5/pf.conf.5 +++ b/share/man/man5/pf.conf.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pf.conf.5,v 1.7 2001/07/20 14:11:05 deraadt Exp $ +.\" $OpenBSD: pf.conf.5,v 1.8 2001/07/20 15:42:39 markus Exp $ .\" .\" Copyright (c) 2001, Daniel Hartmeier .\" All rights reserved. @@ -183,9 +183,9 @@ show: .Bd -literal pass in all pass in from any to any - pass in from any port <= 1024 to any - pass in from any to any port = 25 - pass in from 10.0.0.0/8 port > 1024 to ! 10.1.2.3 port != 22 + pass in proto tcp from any port <= 1024 to any + pass in proto tcp from any to any port = 25 + pass in proto tcp from 10.0.0.0/8 port > 1024 to ! 10.1.2.3 port != 22 .Ed .Ss flags <a>[/<b>] The rule only applies to TCP packets that have the flags <a> set |