Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Dec 1999 12:49:07 -0600
From:      Drew Wiggins <drew@multinet-media.com>
To:        nat <nat@unixlover.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: deny outgoing packets to host
Message-ID:  <385E7A23.24650052@multinet-media.com>
References:  <000a01bf4b15$dfcb43e0$0b00a8c0@orng1.home.com>

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

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<body bgcolor="#FFFFFF">
$fwcmd add deny [packet] from ${ip} to [host]
<p>&nbsp;&nbsp;&nbsp; -where packet is packet type ( tcp, upd, icmp...etc
) and host is IP of host to restrict.
<br>&nbsp;
<p>nat wrote:
<blockquote TYPE=CITE><style></style>
<font size=-1>I have IPFW and natd
setup perfectly..</font><font size=-1>But i need to know what line to put
in the rc.firewall file in order</font><font size=-1>to deny all outgoing
packets to a specific host.</font>&nbsp;<font size=-1>Please help,</font>&nbsp;<font size=-1>nat</font></blockquote>

</body>
</html>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?385E7A23.24650052>