From owner-freebsd-net@FreeBSD.ORG Mon Oct 20 04:47:11 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 021CD16A4B3 for ; Mon, 20 Oct 2003 04:47:11 -0700 (PDT) Received: from queue.unet.com.mk (queue.unet.com.mk [212.13.64.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC43E43FA3 for ; Mon, 20 Oct 2003 04:47:05 -0700 (PDT) (envelope-from aleksandar@unet.com.mk) Received: from b166-er.unet.com.mk (ppp25.unet.com.mk [212.13.64.90] (may be forged)) by queue.unet.com.mk (8.11.6/8.11.6) with SMTP id h9KAVDq17125 for ; Mon, 20 Oct 2003 12:31:13 +0200 Date: Mon, 20 Oct 2003 13:49:38 +0200 From: Aleksandar Simonovski To: freebsd-net@freebsd.org Message-Id: <20031020134938.2c8deee4.aleksandar@unet.com.mk> Organization: Unet X-Mailer: Sylpheed version 0.9.4-gtk2-20030802 (GTK+ 2.2.4; i686-pc-linux-gnu) X-Operating-System: Slackware 9.1 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavis-milter (http://amavis.org/) Subject: freebsd+natd+ipfw+DENY P2P X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2003 11:47:11 -0000 Hi, i wanna allow SSH,SMTP,DNS,WWW,POP3 and nothing else :) on my freebsd gateway, my local net is 192.168.1.0/24 and nat is working fine the point is the deny any P2P applications, and allow normal trafic like SMTP,POP3,WWW,FTP,ICQ. So any suggestions how to do this with ipfw and check-state,established,etc.. Just some examples or any link to them or any HOWTO's because i'm already reading the docs but i'm lettle confused Thank you, Aleksandar