From owner-freebsd-questions@FreeBSD.ORG Thu Nov 27 17:30:21 2003 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 0C95D16A4CE for ; Thu, 27 Nov 2003 17:30:21 -0800 (PST) Received: from kifco.net (host4.kifco.net [216.65.57.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D09243F75 for ; Thu, 27 Nov 2003 17:30:20 -0800 (PST) (envelope-from Admin@kifco.net) Received: from kifco.net (deadline@localhost [127.0.0.1]) by kifco.net (8.12.8p1/8.12.8) with ESMTP id hARLairD040536 for ; Thu, 27 Nov 2003 21:36:44 GMT (envelope-from Admin@kifco.net) From: "Marwan Sultan" To: "FreeBSD questions List" Date: Fri, 28 Nov 2003 00:36:44 +0300 Message-Id: <20031127212800.M99560@kifco.net> X-Mailer: Open WebMail X-OriginatingIP: 62.150.172.235 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Subject: ipfw and gateway SRVR controling. 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: Fri, 28 Nov 2003 01:30:21 -0000 Hello everyone, My boss asked me to do a gateway server, which can control the access to internet users on our LAN. I have a DSL Router connected to internet, -> should be connected to FreeBSD 4.8-R box, and this box provide the internet access to the LAN and control it. putting the box to internet, no big deal, My question is How to controll the Internet access to users on lan? For example: To give this certain IP an Internet access and to Block the other IP from having the internet access (with keeping the LAN up for the IP) ? Also to set something like, Give this IP on LAN an internet from this hour to this hour? Can someone please give me an Example on ipfw? and is the ipfw the only way to do it? I never used ipfw, so a kind detail help is really appreciate it. sorry for long email, and thank you. -- Marwan Sultan Network Administrator