Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Nov 2000 21:38:12 -0800 (PST)
From:      eliyanah@techie.com
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   conf/22859: rc.network should start ipf/ipnat AFTER ppp (like ipfw/natd)
Message-ID:  <20001115053812.B04F737B479@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001115053812.B04F737B479>