Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jun 2001 11:34:36 -0500
From:      Tony Wells <tony@camel.kdsi.net>
To:        Kelvin Ng Chee Hoong <nchee_hoong@pacific.net.sg>
Cc:        "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Add new entry of firewall
Message-ID:  <3B3CAE1C.C6AFD3C8@camel.kdsi.net>
References:  <3B3C48E9.736B8175@pacific.net.sg>

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

Look at /etc/defaults/rc.conf for the firewall stuff.  Copy over the
lines you need to /etc/rc.conf.  I'm guessing you don't have the line in
there that tells what file to source for the firewall rules.

Kelvin Ng Chee Hoong wrote:
> 
> Hi ;
>    I've re-compiled to kernel to include IPFIREWALL options . The
> firewall is rejects all packets by default . As such , I've added new
> entry of firewall rule to allow certain sources allow forwarding to the
> specific destination. But when I reboot the system , my new entry of
> firewall rule disappear . It uses the default entry which rejects all
> packets after reboot. As such , I unable ssh to my FreeBSD when I reboot
> the system . I'm sure that I've enabled FIREWALL_ENABLE  in /etc/rc.conf
> 
>     My question , how do I save new entry to firewall table ? When I
> reboot the system , I want the firewall fetchs my added entry as part of
> firewall rule .
>     Please advise .
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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