From owner-freebsd-questions Mon Dec 20 10:51: 9 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ns1.multinet-media.com (ns1.multinet-media.com [207.18.212.40]) by hub.freebsd.org (Postfix) with ESMTP id A63E9153ED for ; Mon, 20 Dec 1999 10:51:02 -0800 (PST) (envelope-from drew@multinet-media.com) Received: from multinet-media.com ([204.0.122.240]) by ns1.multinet-media.com (8.8.8/8.8.8) with ESMTP id MAA00883; Mon, 20 Dec 1999 12:51:16 -0600 (CST) (envelope-from drew@multinet-media.com) Message-ID: <385E7A23.24650052@multinet-media.com> Date: Mon, 20 Dec 1999 12:49:07 -0600 From: Drew Wiggins Organization: MultiNetMedia X-Mailer: Mozilla 4.7 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: nat Cc: freebsd-questions@FreeBSD.ORG Subject: Re: deny outgoing packets to host References: <000a01bf4b15$dfcb43e0$0b00a8c0@orng1.home.com> Content-Type: multipart/mixed; boundary="------------ADACBD1C5AFF1A59222D54C4" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------ADACBD1C5AFF1A59222D54C4 Content-Type: multipart/alternative; boundary="------------F039E07F0B4C28600749A848" --------------F039E07F0B4C28600749A848 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit $fwcmd add deny [packet] from ${ip} to [host] -where packet is packet type ( tcp, upd, icmp...etc ) and host is IP of host to restrict. nat wrote: > I have IPFW and natd setup perfectly..But i need to know what line to > put in the rc.firewall file in orderto deny all outgoing packets to a > specific host. Please help, nat --------------F039E07F0B4C28600749A848 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit $fwcmd add deny [packet] from ${ip} to [host]

    -where packet is packet type ( tcp, upd, icmp...etc ) and host is IP of host to restrict.
 

nat wrote:

I have IPFW and natd setup perfectly..But i need to know what line to put in the rc.firewall file in orderto deny all outgoing packets to a specific host. Please help, nat
--------------F039E07F0B4C28600749A848-- --------------ADACBD1C5AFF1A59222D54C4 Content-Type: text/x-vcard; charset=us-ascii; name="drew.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Drew Wiggins Content-Disposition: attachment; filename="drew.vcf" begin:vcard n:Wiggins;John tel;cell:(806) 786-2764 tel;fax:(806) 472-0858 tel;home:(806) 786-2764 tel;work:(806) 762-3739 x-mozilla-html:TRUE url:http://www.MultiNet-Media.com/ org:MultiNetMedia;Operations version:2.1 email;internet:drew@multinet-media.com title:IT Director adr;quoted-printable:;;1316 27th Street=0D=0A;Lubbock;TX ;79405;USA x-mozilla-cpt:;-23200 fn:Drew Wiggins end:vcard --------------ADACBD1C5AFF1A59222D54C4-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message