From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LUQIm-0002uD-33 for garchives@archives.gentoo.org; Tue, 03 Feb 2009 18:47:16 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1743BE04D5; Tue, 3 Feb 2009 18:47:14 +0000 (UTC) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by pigeon.gentoo.org (Postfix) with ESMTP id CE903E04D5 for ; Tue, 3 Feb 2009 18:47:13 +0000 (UTC) Received: by ug-out-1314.google.com with SMTP id j40so36311ugd.39 for ; Tue, 03 Feb 2009 10:47:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:x-mailer :mime-version:subject:date:references; bh=0Xj57GHZUhds7x3myyOmKDxAg8jVaJ/6fBgNayo4ps8=; b=a/DD385ih9Gs1KXY0AS6wa/SOvX06ZwbgDQYmY2emM55dwcZ0HLad1Ldo6ZKTaZsYC whnNNXC+whRZRGB7IgujiI15mtfzLacwteAM/614g8LOswbUjgEqhGrss2PmEaArlHi/ hI3A57CotOhKtZerix7UcgidnPlQpzoFXXp/U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:x-mailer:mime-version:subject:date :references; b=okpO08X7xu8Xss3ZbRH/WHxLETC5gBOS/sI6iLkJvetb0s5EreGQQvvOsXxHSkstTN 0xngPXXrcPfOBtMpTPJlXr3EUpo0vfVq6BabPIskNV/F7QBI6rS4rJ1Sr+6EvO+EKfAu aT5+0bDHpz0bVTjaYDilOT3hg+vf50fm47sT8= Received: by 10.67.10.18 with SMTP id n18mr2536077ugi.45.1233686833247; Tue, 03 Feb 2009 10:47:13 -0800 (PST) Received: from ?10.24.224.209? ([32.162.35.159]) by mx.google.com with ESMTPS id i3sm1624915nfh.0.2009.02.03.10.47.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 03 Feb 2009 10:47:12 -0800 (PST) Message-Id: From: Saphirus Sage To: "gentoo-user@lists.gentoo.org" In-Reply-To: <20090203174321.GA30119@revolver> Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Mailer: iPhone Mail (5G77) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 (iPhone Mail 5G77) Subject: Re: [gentoo-user] Different servers behind the same router Date: Tue, 3 Feb 2009 13:47:00 -0500 References: <20090203174321.GA30119@revolver> X-Archives-Salt: 1671202c-afdb-4195-81d7-2ecc485ed7b0 X-Archives-Hash: 15f6997159ae8dc3a3978206f8469996 On Feb 3, 2009, at 12:43 PM, Momesso Andrea wrote: > I have a home server running gentoo for personal use (irc, home > entertainment, file server etc.). > > It is reachable from the internet using a dyamic dns service > (dyndns.org). > > I also have another machine (running gentoo too) that I use as a web > server. This machine uses dyndns.org, with a different name. > > Both machines connect to my modem/router via pppoe so they get 2 > different IPs. > > This modem can also be configured to be used as a router so it > connects > directly to the internet and shares the same IP between the clients. > > What happens if I decide to switch to the "router" configuration? If I > have a single IP for all the machines in the LAN, when someone from > the > outside will try to connect to homeserver.foo or to webserver.bar, > will > they be routed to the correct machine? > > Are there other setups I should look into? > > ======= > TopperH > ======= Configure your router for static IP assignment on the LAN and look at your router's manual for information about "port forwarding." Simply forward the required port from the WAN to the associated LAN IP and port number.