From owner-freebsd-questions@FreeBSD.ORG Tue Sep 25 21:40:20 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0E1916A417 for ; Tue, 25 Sep 2007 21:40:20 +0000 (UTC) (envelope-from mlt01+OV=125a5a44@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by mx1.freebsd.org (Postfix) with ESMTP id B2E6B13C469 for ; Tue, 25 Sep 2007 21:40:20 +0000 (UTC) (envelope-from mlt01+OV=125a5a44@mlists.homeunix.com) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 2756C519DA for ; Tue, 25 Sep 2007 17:40:17 -0400 (EDT) Date: Tue, 25 Sep 2007 22:40:14 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20070925224014.5f88fda7@gumby.homeunix.com.> In-Reply-To: <46F91290.7050500@fpt.vn> References: <46F91290.7050500@fpt.vn> X-Mailer: Claws Mail 3.0.0 (GTK+ 2.10.14; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: PF: block out port 80 so that not allow clients in LAN to browse Internet via port 80 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Sep 2007 21:40:21 -0000 On Tue, 25 Sep 2007 20:52:16 +0700 vuthecuong wrote: > Recently I used squid for cache proxy configured to go internet > through port 3128. > But internet browser in LAN still connect to Internet through port 80 > if in conenction option of Internet browser is chose to connect > directly to internet, > not through proxy server. > So how can I block out port 80 so that LAN clients must go to > internet through port > 3128 via proxy server? > Tnx in advanced > ________________ Blocking a port with PF is really basic. If you have to ask you would be better-off reading about PF first, before you do anything. http://www.openbsd.org/faq/pf/index.html