From owner-freebsd-bugs Tue Nov 14 21:40: 6 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E90BF37B4D7 for ; Tue, 14 Nov 2000 21:40:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id VAA88281; Tue, 14 Nov 2000 21:40:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id B04F737B479; Tue, 14 Nov 2000 21:38:12 -0800 (PST) Message-Id: <20001115053812.B04F737B479@hub.freebsd.org> Date: Tue, 14 Nov 2000 21:38:12 -0800 (PST) From: eliyanah@techie.com To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: conf/22859: rc.network should start ipf/ipnat AFTER ppp (like ipfw/natd) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 22859 >Category: conf >Synopsis: rc.network should start ipf/ipnat AFTER ppp (like ipfw/natd) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 14 21:40:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Janet Sullivan >Release: 4.2-BETA >Organization: >Environment: FreeBSD nene.shekhina.com 4.2-BETA FreeBSD 4.2-BETA #0: Tue Nov 14 18:28:29 MST 2000 root@nene.shekhina.com:/usr/obj/usr/src/sys/NENE i386 >Description: If ipfilter, ipnat, and ppp are enabled in rc.conf, rc.network will start ipfilter and ipnat BEFORE user ppp, which does not work if you are using ipf/ipnat with tun0. rc.network correctly starts ipfw/natd AFTER ppp, and even states "Start user ppp if required. This must happen before natd." What is true for ipfw/natd is also true for ipf/ipnat - User ppp needs to be started BEFORE ipf/ipnat for proper operation. >How-To-Repeat: Add the following lines to rc.conf, and ipf/ipnat are started before ppp. This is a problem if your ipf/ipnat rules use tun0 - it won't work. User ppp must be started first. ipfilter_enable="YES" ipfilter_flags="" ipnat_enable="YES" ppp_enable="YES" ppp_nat="NO" >Fix: Change rc.network so ipf/ipnat are started after ppp. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message