From owner-freebsd-questions Tue Apr 14 13:11:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA03700 for freebsd-questions-outgoing; Tue, 14 Apr 1998 13:11:37 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from pigstuy ([207.113.85.111]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA03690 for ; Tue, 14 Apr 1998 20:11:23 GMT (envelope-from spork@cncn.com) Received: from localhost (spork@localhost) by pigstuy (8.8.7/8.8.7) with SMTP id QAA00572 for ; Tue, 14 Apr 1998 16:09:39 -0400 (EDT) (envelope-from spork@cncn.com) X-Authentication-Warning: pigstuy: spork owned process doing -bs Date: Tue, 14 Apr 1998 16:09:38 -0400 (EDT) From: Spike Gronim X-Sender: spork@pigstuy Reply-To: spork To: fbsdqs Subject: IPFW Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello. Just for practice I am configuring a fire wall on my computer. I don't need one, but I want to get the experience under my belt. I have a shell script I wish to execute to set up the rules to my firewall. it reads: #!/bin/sh ipfw add deny tcp from localhost to panix.com ipfw add deny tcp from panix.com to localhost ipfw add allow ip from any to any I have shell access on panix.com and can therefore attempt to test my firewall from their machinces. ipfw ignores the first two commands, so my firewall ends up looking like this: 00000 allow ip from any to any 65534 deny ip from any to any What is wrong with my first two rules? Thank you. -Spike Gronim spork@cncn.com "Hacker, n: One who hacks real good" --Computer Contradictionary To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message