From owner-freebsd-questions@FreeBSD.ORG Sun Apr 27 17:24:34 2014 Return-Path: Delivered-To: questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4D4F3E32 for ; Sun, 27 Apr 2014 17:24:34 +0000 (UTC) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx1.fisglobal.com", Issuer "VeriSign Class 3 Secure Server CA - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 19EAAD11 for ; Sun, 27 Apr 2014 17:24:33 +0000 (UTC) Received: from smarthost.fisglobal.com ([10.132.206.193]) by ltcfislmsgpa05.fnfis.com (8.14.5/8.14.5) with ESMTP id s3RHOQXG005833 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Sun, 27 Apr 2014 12:24:26 -0500 Received: from THEMADHATTER (10.242.181.54) by smarthost.fisglobal.com (10.132.206.193) with Microsoft SMTP Server id 14.3.174.1; Sun, 27 Apr 2014 12:24:25 -0500 From: Sender: Devin Teske To: "'Abdul Waheed'" , References: <1398586979.43416.YahooMailNeo@web141002.mail.bf1.yahoo.com> In-Reply-To: <1398586979.43416.YahooMailNeo@web141002.mail.bf1.yahoo.com> Subject: RE: Free BSD Question? Date: Sun, 27 Apr 2014 10:24:15 -0700 Message-ID: <045201cf623d$849aac50$8dd004f0$@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQH/rkxCMajsQogE/VlT6VpYqe5QeJrFGkfw Content-Language: en-us X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.11.96, 1.0.14, 0.0.0000 definitions=2014-04-27_01:2014-04-25,2014-04-27,1970-01-01 signatures=0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Apr 2014 17:24:34 -0000 > -----Original Message----- > From: Abdul Waheed [mailto:waheed53@yahoo.com] > Sent: Sunday, April 27, 2014 1:23 AM > To: questions@FreeBSD.org > Subject: Free BSD Question? > > Dear Sir, I am new in Networking and also new in free BSD.I don't know > about free BSD Proxy. > I have some question i hope u will help me. > I want to implement freeBSD in my network environment.can any body > guide me what are the packages i need to install with free BSD.from where i > will start this.I don't know I want to use FreeBSD 9.1 for following purpose: > 1. As a proxy server > 2. As a Router > what i need to fulfill these requirement.please guide me from start. > Turning FreeBSD into a router is easy... sysrc gateway_enable=YES service routing start Turning FreeBSD into a proxy server is also easy... pkg install -y squid sysrc squid_enable=YES squid -z service squid start Default port for squid is 3128. You can change it in /usr/local/etc/squid/squid.conf (find "http_port 3128" and change it to your desired port as necessary). -- Devin NB: Alternatively, if you have intentions to use the apache web server to serve web pages, you might want to skip squid and just use apache. Here's a configuration file you can put into /usr/local/etc/apache22/Includes (or /usr/local/etc/apache24/Includes if you choose apache24 over apache22): FILE: mod_proxy.conf # Proxying to other hosts ProxyRequests On ProxyVia Off AllowCONNECT 443 Order allow,deny Allow from all # XXX LogLevel Debug This would first require: pkg install -y apache22 or pkg install -y apache24 _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.