Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Apr 1998 16:09:38 -0400 (EDT)
From:      Spike Gronim <spork@cncn.com>
To:        fbsdqs <freebsd-questions@FreeBSD.ORG>
Subject:   IPFW
Message-ID:  <Pine.BSF.3.96.980414160653.570A-100000@pigstuy>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980414160653.570A-100000>