Date: Fri, 27 Jul 2012 12:48:30 +0900 (JST) From: kuni_kachi@ybb.ne.jp To: "freebsd-questions@FreeBSD.org" <freebsd-questions@FreeBSD.org> Subject: [FreeBSD9.0]Question about IP Forwarding feature Message-ID: <71969.52693.qm@web200217.mail.kks.yahoo.co.jp>
next in thread | raw e-mail | index | archive | help
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!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?71969.52693.qm>