Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Apr 1998 13:29:59 -0700
From:      Dima Dorfman <webmaster@zwb.net>
To:        spork <spork@cncn.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: IPFW
Message-ID:  <3.0.5.32.19980414132959.00921100@207.213.224.25>
In-Reply-To: <Pine.BSF.3.96.980414162215.367C-100000@pigstuy>
References:  <3.0.5.32.19980414131259.00928650@207.213.224.25>

next in thread | previous in thread | raw e-mail | index | archive | help
Can you machine look up localhost?  How about panix.com?

Do you get an error message?

At 04:23 PM 4/14/98 -0400, you wrote:
>On Tue, 14 Apr 1998, Dima Dorfman wrote:
>
>> You need to specify a rule number, like:
>> 
>> ipfw add 1000 deny tcp from localhost to panix.com
>> 
>> At 04:09 PM 4/14/98 -0400, you wrote:
>> >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:
>
>[snip]
>
>> > 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
>
>My ipfwcommands script now reads:
>
>#!/bin/sh
>
>ipfw add 10000 deny tcp from localhost to panix.com
>ipfw add 10010 deny tcp from panix.com to localhost
>ipfw add allow ip from any to any
>
>and it still does not add the first two rules.
>
>
>
>	-Spike Gronim
>	 spork@cncn.com	
>
>
>		"Hacker, n: One who hacks real good"
>			--Computer Contradictionary
>
>

---
Thanks!
Dima Dorfman - dima@zwb.net

"640k ought to be enough for anybody." - Bill Gates, 1981 - Bill Gates


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?3.0.5.32.19980414132959.00921100>