summaryrefslogtreecommitdiff
path: root/sbin/pfctl/pfctl.8
diff options
context:
space:
mode:
authormargarida <margarida@cvs.openbsd.org>2002-12-15 16:52:36 +0000
committermargarida <margarida@cvs.openbsd.org>2002-12-15 16:52:36 +0000
commit065ce5cb2d0549b80bf7aaf7229c1f8dbc2be732 (patch)
treeb7571576a823d94114f6308a638d7b44f9c080ef /sbin/pfctl/pfctl.8
parentfcff83caadfc23ba240c37ff4f03a5c05760a830 (diff)
There is no such thing as pf=YES variable, there is a variable
named pf which you can assign YES. Mention net.inet6.ip6.forwarding. inspired by nick@ and ok'd by henning@
Diffstat (limited to 'sbin/pfctl/pfctl.8')
-rw-r--r--sbin/pfctl/pfctl.814
1 files changed, 8 insertions, 6 deletions
diff --git a/sbin/pfctl/pfctl.8 b/sbin/pfctl/pfctl.8
index 30c8701aacc..3da745ffc7b 100644
--- a/sbin/pfctl/pfctl.8
+++ b/sbin/pfctl/pfctl.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pfctl.8,v 1.59 2002/12/15 15:41:59 margarida Exp $
+.\" $OpenBSD: pfctl.8,v 1.60 2002/12/15 16:52:35 margarida Exp $
.\"
.\" Copyright (c) 2001 Kjell Wooding. All rights reserved.
.\"
@@ -65,7 +65,7 @@ supported.
Translation rules are described in
.Xr pf.conf 5 .
.Pp
-When the variable pf=YES is set in
+When the variable pf is set to YES in
.Xr rc.conf 8 ,
the rule file specified with the variable pf_rules
is loaded automatically by the
@@ -73,11 +73,13 @@ is loaded automatically by the
scripts and the packet filter is enabled.
.Pp
The packet filter does not itself forward packets between interfaces.
-Forwarding can be enabled using the
+Forwarding can be enabled by setting the
.Xr sysctl 8
-variable
-.Li net.inet.ip.forwarding=1 ,
-permanently in
+variables
+.Li net.inet.ip.forwarding
+and/or
+.Li net.inet6.ip6.forwarding ,
+to 1. Set them permanently in
.Xr sysctl.conf 5 .
.Pp
The