From owner-freebsd-questions@FreeBSD.ORG Fri Jul 27 03:55:13 2012 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A840A106564A for ; Fri, 27 Jul 2012 03:55:13 +0000 (UTC) (envelope-from kuni_kachi@ybb.ne.jp) Received: from web200217.mail.kks.yahoo.co.jp (web200217.mail.kks.yahoo.co.jp [183.79.100.241]) by mx1.freebsd.org (Postfix) with SMTP id 469908FC12 for ; Fri, 27 Jul 2012 03:55:13 +0000 (UTC) Received: (qmail 55811 invoked by uid 60001); 27 Jul 2012 03:48:30 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ybb.ne.jp; s=ybb20110701; t=1343360910; bh=s8MMXq5zzgYeTA7Ap802zZV5rTRcJZazQ9kJTOf0Y6k=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=dL5YPZcXs/yz1qbpa5D1P2q1+zmkwq21zUBLdDaGfC8jwUFen9cYyQt2k3VVNihGgsWlrQJ0I3Mhu8CxBPfAqCDsbLthr9GNF+xPZFXZJ+zu3UuPU0wB7CQVTmsi8Jrov4ubLJw2FFNY3tW1pxXHcBwOZN9Lp/z9cc3gUUtBbls= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=ybb20110701; d=ybb.ne.jp; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=LkEsXW2TYgEqkwbb5QK+qIPLj7JjFqD1ezAviznnFe0uuRqojOGtRTOFE1UuhDGhkGzb6MsDwYL5LFzESA2s7CYksJ/bi8PpyD3ZMS4S2nWlMVLsOCRVA6xG0xEH55XG4d7NFbBOCbtXcLfsiWVpw3nV4YXPVHLiMiO+fCBSfoY=; Message-ID: <71969.52693.qm@web200217.mail.kks.yahoo.co.jp> X-YMail-OSG: Tze6rPgVM1mw7mQkCneMRtR4nzQAkav3VC_DGwPF7zjeu0e4GdL1ehY5iDfNYC.8RWZmn8RcYcORHQOdstFpABwZCXKuuv_aZEgVIPk3WFz5of0jIw0qmisZC3OQaT1DaU40QguEe.I.I_pfQkM50OgHqx5kGIPJHW2dipi_gqmVMplDJHQYhq_Kdx0_ux1m8tUEUZksdZj8_50zKbU- Received: from [61.194.7.65] by web200217.mail.kks.yahoo.co.jp via HTTP; Fri, 27 Jul 2012 12:48:30 JST X-Mailer: YahooMailWebService/0.8.111_26 Date: Fri, 27 Jul 2012 12:48:30 +0900 (JST) From: kuni_kachi@ybb.ne.jp To: "freebsd-questions@FreeBSD.org" MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: [FreeBSD9.0]Question about IP Forwarding feature X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kuni_kachi@ybb.ne.jp List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2012 03:55:13 -0000 Hello, =0A=0AI have question about how i can enable ip forwarding=0AI set g= ateway_enable =3D "YES" in /etc/rc.conf =0AWhen I restart/start FreeBSD,OS = started completely but ip forwarding feature is not enabled.=0A------------= ------------=0A#sysctl net.inet.ip.forwarding=0Anet.inet.ip.forwarding: 0= =0A------------------------=0AI check start scripts =0A#/etc/rc.d/routing s= tart =0Aand found the folowing result:=0Aeval: check_kern_features: not fou= nd=0Aeval: check_kern_features: not found=0ABut when using=A0 /etc/rc.d/rou= ting start inet=0Athis is OK=0A#/etc/rc.d/routing start inet=0AAdditional i= net routing options: gateway=3DYES.=0A#sysctl net.inet.ip.forwarding=0Anet.= inet.ip.forwarding: 1=0AHow i can configure to enable ip forwarding [net.in= et.ip.forwarding: 1 ] =0A=A0=0A*FreeBSD Version=0A9.0-RELEASE-p3 FreeBSD 9.= 0-RELEASE-p3 #0: Sat Jul 21 14:09:44 JST 2012=A0=A0=A0=A0 thang@server:/usr= /obj/usr/src/sys/GENERIC=A0 i386=0A=0A*/etc/rc.conf=0A---------------------= -----------------=0Anamed_enable=3D"YES"=0Anamed_flags=3D"-c /etc/namedb/na= med.conf"=0Afirewall_enable=3D"YES"=0Afirewall_type=3D"open"=0Agateway_enab= le=3D"YES"=0Appp_nat=3D"NO"=0Anatd_enable=3D"YES"=0Anatd_program=3D"/sbin/n= atd"=0Anatd_interface=3D"tun0"=0Anatd_flags=3D"-f /etc/natd.conf"=0Arouted_= enable=3D"YES"=0A------------------------------------=0AThank you!