From owner-freebsd-questions@FreeBSD.ORG Wed Jan 4 10:45:50 2012 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 4A685106566C; Wed, 4 Jan 2012 10:45:50 +0000 (UTC) (envelope-from magik@roorback.net) Received: from roorback.net (ec2-50-17-44-204.compute-1.amazonaws.com [50.17.44.204]) by mx1.freebsd.org (Postfix) with ESMTP id 17C588FC0A; Wed, 4 Jan 2012 10:45:49 +0000 (UTC) Received-SPF: neutral (roorback.net: 157.25.200.146 is neither permitted nor denied by domain of roorback.net) client-ip=157.25.200.146; envelope-from=magik@roorback.net; helo=[10.1.1.66]; Received: from [10.1.1.66] (unknown [157.25.200.146]) by roorback.net (Postfix) with ESMTPSA id 0F266228FA; Wed, 4 Jan 2012 11:29:50 +0100 (CET) Message-ID: <4F042A1D.4000403@roorback.net> Date: Wed, 04 Jan 2012 11:29:49 +0100 From: Grzegorz Blach User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111107 Thunderbird/8.0 MIME-Version: 1.0 To: Dino Vliet References: <1325671801.19145.YahooMailNeo@web113620.mail.gq1.yahoo.com> In-Reply-To: <1325671801.19145.YahooMailNeo@web113620.mail.gq1.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "ports@FreeBSD.org" , "freebsd-questions@freebsd.org" Subject: Re: best way to bind webserver to port 80 without running as root 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: Wed, 04 Jan 2012 10:45:50 -0000 On 01/04/2012 11:10 AM, Dino Vliet wrote: > Hi all, > > suddenly I'm facing this quest on freebsd 8. I need to bind my little webserver running aolserver to port 80. In the past I was always using port 8080 and had my router configured to forward requests on port 80 to the server on port 8080. However, I am planning to host my little site on a virtual server with a hosting company and figuredI can't use the workaround I always used. So my question is, how to bind aolserver to port 80 without running as root as I understood ports below 1024 can only be used by root. > I found a sysctl net.inet.ip.portrange.reservedhigh which enables me to set it to 0. However, I don't know what the security ramifications are of using that. Are there any other options I could consider? > > Thanks > Dino > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mac-portacl.html