From owner-freebsd-questions Tue Sep 2 21:57:29 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA17467 for questions-outgoing; Tue, 2 Sep 1997 21:57:29 -0700 (PDT) Received: from gatekeeper.medtrak.com ([199.217.239.253]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA17446 for ; Tue, 2 Sep 1997 21:57:15 -0700 (PDT) Received: (from kenth@localhost) by gatekeeper.medtrak.com (8.8.5/8.8.5) id XAA00299 for freebsd-questions@freebsd.org; Tue, 2 Sep 1997 23:53:56 -0500 (CDT) Date: Tue, 2 Sep 1997 23:53:56 -0500 (CDT) From: Kent Hamilton Message-Id: <199709030453.XAA00299@gatekeeper.medtrak.com> To: freebsd-questions@freebsd.org Subject: IP Firewall Problems Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I'm trying to use ipfw for the first time and I've rebuilt the kernel with it in and set it to simple in rc.conf, heavily modified rc.firewall and rebooted. All I'm getting is the following /sbin/ipfw add 1000 pass tcp from any to 192.168.92.69 25 setup 01000 allow tcp from any to 192.168.92.69 25 setup ip_fw_ctl: neither in nor out ipfw: setsockopt(IP_FW_ADD): Invalid argument I haven't looked at the FAQ yet since I can't get to the net right at the moment and it's late.... Anyone have any great examples on setting this and natd up, and better yet suggestions as to what I'm doing wrong? Please reply to "KHamilton@Hunter.COM" since that's where I normally read my mail..... Thanks Kent