2013/9/25 Erling Westenvik <[email protected]>

> On Wed, Sep 25, 2013 at 04:40:37PM +0200, Adelin Balou wrote:
> > The problem is : The Firewall has Internet and hosts on WLAN and LAN
> can't
> > connect to internet. I don't know if my NAT and Filtering rules are not
> > matching. My /etc/resolv.conf has an ADSL internet Box address and DNS is
> > working correctly. My xl0 interface has got IP from DHCP server from the
> ADSL
> > Internet Box so no need to create a file /etc/mygate to specify the ADSL
> > Internet Box default gateway. The command route show shows me my default
> > gateway.
>
> Have you enabled ip forwarding?
>
> $ grep net.inet.ip.forwarding /etc/sysctl.conf
> net.inet.ip.forwarding=1
>

The output from:
sysctl net.inet.ip.forwarding
would almost be more interresting, since the above file is only valid if
you have rebooted the box since last changing that line. I assume you
already knew that of course, but for the archives...


-- 

May the most significant bit of your life be positive.

Reply via email to