From owner-freebsd-questions Thu Aug 20 05:53:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA11756 for freebsd-questions-outgoing; Thu, 20 Aug 1998 05:53:59 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.cybcon.com (mail.cybcon.com [205.147.64.46]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA11751 for ; Thu, 20 Aug 1998 05:53:55 -0700 (PDT) (envelope-from wwoods@cybcon.com) Received: from support1.cybcon.com (william@support1.cybcon.com [205.147.76.99]) by mail.cybcon.com (8.9.0/8.9.0) with ESMTP id FAA11155 for ; Thu, 20 Aug 1998 05:53:15 -0700 (PDT) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Thu, 20 Aug 1998 05:53:14 -0700 (PDT) Reply-To: wwoods@cybcon.com From: William Woods To: FreeBSD Questions Subject: Firewall Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have a script that every day does a ipfw list > /home/william/ipfwlist to save my firewall settings in case I need to reboot. Now what I would like to do is when I boot have those rules loaded automatically. This is the settings in use in my rc.firewall file: if [ "${firewall_type}" = "open" -o "${firewall_type}" = "OPEN" ]; then $fwcmd add 65000 pass all from any to any $fwcmd add 63000 deny log icmp from any to 205.147.76.99 icmptype 8 $fwcmd add 62099 allow icmp from 205.147.76.99 to 205.147.76.99 icmmptype 8 Would it be possible to replace these with something along the lines of ipfw /home/william/ipfwlist . or can you suggest a better way? --------------------- William Woods Date: 20-Aug-98 / Time: 05:45:54 goto to: http//www.freebsd.org. --> FreeBSD 3.0 CURRENT <-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message