From owner-freebsd-questions@FreeBSD.ORG Sun Jan 25 06:59:49 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC1EC16A4CE for ; Sun, 25 Jan 2004 06:59:49 -0800 (PST) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 35B6D43D45 for ; Sun, 25 Jan 2004 06:59:48 -0800 (PST) (envelope-from pons@gmx.li) Received: (qmail 11288 invoked by uid 65534); 25 Jan 2004 14:59:45 -0000 Received: from unknown (HELO pons) (194.165.152.7) by mail.gmx.net (mp016) with SMTP; 25 Jan 2004 15:59:45 +0100 X-Authenticated: #2607275 Message-ID: <024201c3e353$e3ac0c80$0503050a@sdc.com.jo> From: "Pons" To: References: <20040125144542.15702.qmail@web13905.mail.yahoo.com> Date: Sun, 25 Jan 2004 16:59:51 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: IPFW X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jan 2004 14:59:49 -0000 I have configured a FreeBSD 5.1 rel box 2 NIC's (Ext.ip/Int.ip) with ipfw/natd/squid the setup is working, but still _FLAT_ it means i am using the default IPFW configuration firewall_type="open" I want to give more security to my internal network by stoping/limiting unneccessary traffic in/out so I need help to implement the following set of ipfw rules 1- permit only clients with 10.5.0.0/16 to send/recv via the box 2- Block MSN messanger/ yahoo messanger/ ICQ / Kazaa 3- Block in/out ICMP Ping / traceroute 4- Permit DNS/ HTTP(S)/ FTP / SMTP / Telnet /SSH /POP3 5- what should i include in /etc/sysctl.conf against DoS attack , spoof ..etc 6- What about the kernel_level, in which mode should i run the kernel 7- which other services should i disable 8- allow me (my ip) to manage the box by accessing it via ssh only any input would be really appreciated. Thanks