From owner-freebsd-questions@FreeBSD.ORG Tue Dec 5 18:57:14 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1FA9716A47C for ; Tue, 5 Dec 2006 18:57:14 +0000 (UTC) (envelope-from joe@joeholden.co.uk) Received: from claire.ber.rewt.org.uk (claire.ber.rewt.org.uk [217.160.200.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95AAB43CB7 for ; Tue, 5 Dec 2006 18:56:25 +0000 (GMT) (envelope-from joe@joeholden.co.uk) Received: from localhost (unknown [127.0.0.1]) by claire.ber.rewt.org.uk (Postfix) with ESMTP id 547885CA9; Tue, 5 Dec 2006 18:57:05 +0000 (GMT) X-Virus-Scanned: amavisd-new at claire.ber.rewt.org.uk Received: from claire.ber.rewt.org.uk ([127.0.0.1]) by localhost (claire.ber.rewt.org.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t+gFa+W7NPRt; Tue, 5 Dec 2006 18:57:03 +0000 (GMT) Received: from [62.84.172.67] (dsl172-67.as6911.net [62.84.172.67]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by claire.ber.rewt.org.uk (Postfix) with ESMTP id 9ADDD5CA5; Tue, 5 Dec 2006 18:57:02 +0000 (GMT) Message-ID: <4575C0FD.8050705@joeholden.co.uk> Date: Tue, 05 Dec 2006 18:57:01 +0000 From: Joe Holden User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: vittorio References: <200612051915.05961.vdemart1@tin.it> In-Reply-To: <200612051915.05961.vdemart1@tin.it> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: jail & 127.0.0.x howto X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: joe@joeholden.co.uk List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Dec 2006 18:57:14 -0000 vittorio wrote: > Under freebsd 6.1 I set up an apache 2.0 server in a jail working on fxp0 > 10.155.1.10 and aliased as 10.155.1.11. It works like a charme. > > Now while IP 10.155.1.10 is a fixed IP address I've been assigned by my office > network administrator (it is also in the office DNS) the aliased IP address, > 10.155.1.11, is an abuse of mine just for the sake of trying if the jail > worked. > > Because I'm entitled to have ** one** fixed IP only, I wonder how I can use > the 127.0.0.x adddresses to setup the jail for apache, as I found suggested, > better "hinted", googling. A step by step example would be very helpful. > How to set up the jail using the internal addresses? > > Ciao > Vittorio > You could redirect ports from the host to the internal jail loopback IP. Ta, Joe