From owner-freebsd-questions@FreeBSD.ORG Mon Oct 11 23:27:15 2004 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 28D6E16A4CF for ; Mon, 11 Oct 2004 23:27:15 +0000 (GMT) Received: from indian.dokfilm.org (indian.dokfilm.org [217.197.85.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F8F743D39 for ; Mon, 11 Oct 2004 23:27:14 +0000 (GMT) (envelope-from bsd@dokfilm.org) Received: from yakima.indian.dokfilm.org ([192.168.2.2] helo=mohawk) by indian.dokfilm.org with esmtp (Exim 4.20) id 1CH9al-000Fu4-Pw for freebsd-questions@freebsd.org; Tue, 12 Oct 2004 01:28:35 +0200 From: "Lars H. Beuse" Organization: x-scope.de To: freebsd-questions@freebsd.org Date: Tue, 12 Oct 2004 01:27:41 +0200 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200410120127.42002.bsd@dokfilm.org> Subject: NameVirtualHost nat 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: Mon, 11 Oct 2004 23:27:15 -0000 Hi, i want some apache NameVirtualHost behind a Paketfilter based on ipf, placed in two subnets. This router has two Cards one in the private net, one in the public. So far i just forward port 80 and 443 into my private net 192.168.2.0, but every request ends up on apaches rootlevel, NameVirtualHost directive is useless. So, how to forward http(s):// requests through the Paketfilter matching the right VirtualHost? Maybe i've thought in a wrong direction, so far. Just some little hints should be enough. Greetings Lars H. Beuse