Date: Thu, 20 Aug 1998 05:53:14 -0700 (PDT) From: William Woods <wwoods@cybcon.com> To: FreeBSD Questions <freebsd-questions@FreeBSD.ORG> Subject: Firewall Message-ID: <XFMail.980820055314.wwoods@cybcon.com>
next in thread | raw e-mail | index | archive | help
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 <wwoods@cybcon.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.980820055314.wwoods>