Date: Thu, 14 Jan 2016 01:32:17 +0000 (UTC) From: Kevin Lo <kevlo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r293862 - head/share/examples/pf Message-ID: <201601140132.u0E1WHGw084846@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601140132.u0E1WHGw084846>