net.inet.ip.forwarding is mysteriously set to 0

wishmaster artemrts at ukr.net
Fri Apr 24 17:13:55 UTC 2015


Hi,

 --- Original Message ---
 From: "Nikos Vassiliadis" 
 Date: 24 April 2015, 19:46:42
 


> Hi,
> 
> Just saw this. Can somebody re-produce this?
> 
> > root at m4fh2:~ # sysctl net.inet.ip.forwarding
> > net.inet.ip.forwarding: 1
> > root at m4fh2:~ # ifconfig bridge0 create
> > root at m4fh2:~ # sysctl net.inet.ip.forwarding
> > net.inet.ip.forwarding: 0
> 
> That's on GENERIC 10-STABLE from the day before yesterday.
> 

Put
 gateway_enable=YES
into rc.conf and try again.

Cheers,
Vitaliy 
 


More information about the freebsd-net mailing list