From owner-freebsd-stable@FreeBSD.ORG Fri Oct 21 14:54:37 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A729816A41F for ; Fri, 21 Oct 2005 14:54:37 +0000 (GMT) (envelope-from mhellwig@xs4all.nl) Received: from smtp-vbr15.xs4all.nl (smtp-vbr15.xs4all.nl [194.109.24.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2136043D45 for ; Fri, 21 Oct 2005 14:54:36 +0000 (GMT) (envelope-from mhellwig@xs4all.nl) Received: from [10.0.0.150] (xinagnet.xs4all.nl [80.126.243.229]) (authenticated bits=0) by smtp-vbr15.xs4all.nl (8.13.3/8.13.3) with ESMTP id j9LEsZoW088139 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 21 Oct 2005 16:54:35 +0200 (CEST) (envelope-from mhellwig@xs4all.nl) Message-ID: <43590129.5030601@xs4all.nl> Date: Fri, 21 Oct 2005 16:54:33 +0200 From: "Martin P. Hellwig" User-Agent: Thunderbird 1.4.1 (Windows/20051006) MIME-Version: 1.0 CC: freebsd-stable@freebsd.org References: <000101c5d64a$1b8b38c0$0201a8c0@bedroom> In-Reply-To: <000101c5d64a$1b8b38c0$0201a8c0@bedroom> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by XS4ALL Virus Scanner Subject: Re: routing question X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Oct 2005 14:54:37 -0000 Matt Smith wrote: > Hello all, > I have a situation where I have my FreeBSD box that I want to run 2 > Unreal IRCD's on both using port 6667. I've set up virtual IP > addressing and one IRCD will run on 192.168.1.5:6667 and the other one > will run on 192.168.1.7:6667. my problem is how would I go about > routing the traffic into the machine so both the IRCD's can be used by > different people using just a linksys router (I don't think it's > possible, but I thought I bounce it off you guys. > > Only if there on your own private subnet, otherwise you must have multiple public IP addresses and (nat)forward them to the private ones accordingly. If you have only 1 public IP adress you could use multiple ports on the public IP and mapped them back to the right IP & ports, say (public IP):6667 -> 192.168.1.7:6667 and (public IP):6668 -> 192.168.1.7:6667 however with this option you could have saved your hassle to create a alias and just used the 6668 port for your other daemon on 192.168.1.5 -- mph