From owner-freebsd-current@FreeBSD.ORG Sun Jun 4 09:50:29 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7255F16A515 for ; Sun, 4 Jun 2006 09:50:29 +0000 (UTC) (envelope-from dirk.meyer@dinoex.sub.org) Received: from uucp.dinoex.sub.de (uucp.dinoex.sub.de [194.45.71.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D4EC43D49 for ; Sun, 4 Jun 2006 09:50:28 +0000 (GMT) (envelope-from dirk.meyer@dinoex.sub.org) Received: from uucp.dinoex.sub.de (dinoex@uucp.dinoex.sub.de [194.45.71.2] (may be forged)) by uucp.dinoex.sub.de (8.13.6/8.13.5) with ESMTP id k549o1iw067227 for ; Sun, 4 Jun 2006 11:50:01 +0200 (CEST) (envelope-from dirk.meyer@dinoex.sub.org) X-MDaemon-Deliver-To: Received: from build.dinoex.sub.de (dinoex@localhost) by uucp.dinoex.sub.de (8.13.6/8.13.5/Submit) with BSMTP id k549o02C067215 for ; Sun, 4 Jun 2006 11:50:00 +0200 (CEST) (envelope-from dirk.meyer@dinoex.sub.org) To: freebsd-current@freebsd.org Message-ID: From: dirk.meyer@dinoex.sub.org (Dirk Meyer) Organization: privat Date: Sun, 04 Jun 2006 11:45:15 +0200 X-Mailer: Dinoex 1.79 References: <001701c681fc$acddb330$0b0ba8c0@GATEWAY> X-Gateway: ZCONNECT build.dinoex.sub.de [UNIX/Connect 0.94] X-PGP-Fingerprint: 44 16 EC 0A D3 3A 4F 28 8A 8A 47 93 F1 CF 2F 12 X-Copyright: (C) Copyright 2001 by Dirk Meyer -- All rights reserved. X-PGP-Key-Avail: mailto:pgp-public-keys@keys.de.pgp.net Subject:GET 0x331CDA5D X-ZC-VIA: 20060604000000S+2@dinoex.sub.org X-Milter: Spamilter (Reciever: uucp.dinoex.sub.de; Sender-ip: 194.45.71.2; Sender-helo: uucp.dinoex.sub.de; ) Subject: Re: namebased VPS using JAIL X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jun 2006 09:50:32 -0000 Hallo Yudai Yamagishi, > I'm trying to serve several VPS for my friends. > But, IP addresses costs too much here in Japan. > So, I only have 1 WAN IP. > For example, I want to create a VPS called vps1. > I'll assign vps1.mydomain.com as VPS's address. > Then all network traffics for vps1.mydomain.com will go to vps1. > Same with other VPSs by the way. > Is this possible using JAIL? No .. each jail need an different IP. You can redirect traffic fro your WAN Ip to diffrent jails, but this solves not your problem. To allow diifrent "named" Services on one WAN IP, you need to do this in the server application. Vsftpd and apache do support "Virtual Hosts" so you can map HTTP and FTP services on the name used by the client to access this IP. kind regards Dirk - Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany - [dirk.meyer@dinoex.sub.org],[dirk.meyer@guug.de],[dinoex@FreeBSD.org] http://people.freebsd.org/~dinoex/errorlogs/