svn commit: r293862 - head/share/examples/pf

Kevin Lo kevlo at FreeBSD.org
Thu Jan 14 01:32:18 UTC 2016


Author: kevlo
Date: Thu Jan 14 01:32:17 2016
New Revision: 293862
URL: https://svnweb.freebsd.org/changeset/base/293862

Log:
  Suggest setting gateway_enable="YES" instead of sysctl net.inet.ip.forwarding=1 to enable packet forwarding.
  
  Reviewed by:	glebius

Modified:
  head/share/examples/pf/pf.conf

Modified: head/share/examples/pf/pf.conf
==============================================================================
--- head/share/examples/pf/pf.conf	Thu Jan 14 00:34:37 2016	(r293861)
+++ head/share/examples/pf/pf.conf	Thu Jan 14 01:32:17 2016	(r293862)
@@ -2,8 +2,8 @@
 #	$OpenBSD: pf.conf,v 1.34 2007/02/24 19:30:59 millert Exp $
 #
 # See pf.conf(5) and /usr/share/examples/pf 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.
+# Remember to set gateway_enable="YES" and/or ipv6_gateway_enable="YES"
+# in /etc/rc.conf if packets are to be forwarded between interfaces.
 
 #ext_if="ext0"
 #int_if="int0"


More information about the svn-src-all mailing list