From owner-freebsd-questions@FreeBSD.ORG Sun Jul 11 14:35:38 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 6BE9D16A4CE for ; Sun, 11 Jul 2004 14:35:38 +0000 (GMT) Received: from mta2.adelphia.net (mta2.adelphia.net [68.168.78.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2326043D2D for ; Sun, 11 Jul 2004 14:35:38 +0000 (GMT) (envelope-from Barbish3@adelphia.net) Received: from barbish ([67.20.101.71]) by mta13.adelphia.net (InterMail vM.6.01.03.02 201-2131-111-104-20040324) with SMTP id <20040711143017.SCLU14365.mta13.adelphia.net@barbish>; Sun, 11 Jul 2004 10:30:17 -0400 From: "JJB" To: "Gaspar Kiraly" , Date: Sun, 11 Jul 2004 10:30:18 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 In-Reply-To: <000a01c46745$cbd736e0$0201a8c0@my.domain> Importance: Normal Subject: RE: Firewall rules for local lan X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Barbish3@adelphia.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jul 2004 14:35:38 -0000 Here is a rewrite of the FreeBSD handbook firewall section with examples that will answer all your questions. www.a1poweruser.com/FBSD_firewall/ -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Gaspar Kiraly Sent: Sunday, July 11, 2004 8:52 AM To: freebsd-questions@freebsd.org Subject: Firewall rules for local lan Hello, I have a quick question for you: I am in the process of setting up ipfw for my server and a small LAN of two pcs. The FreeBSD server is used as an internet gateway with a dial up connection (ppp -auto -alias demand). My network connection is working fine, however I am getting more and more junk mail lately. It looks like some sites are sniffing out my e-mail address, my pc configs, etc. Hence, I'd like to setup a firewall. I found many good examples, however they deal with a one pc (FreeBSD) one network card setup. For ex: do I need to add "divert" and "bridge" to the Kernel config file? How do I set up different rules for for each nic? I'd like to be able to access the FreeBSD server from my local LAN w/o any restrictions but I do not want the internet sites to do the same with my server and LAN. Would you have an example setup for this scenario? The FreeBSD server is also setup to provide address resolution for the internet. I'd appreciate any help. Gaspar _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"