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 1LUQgm-0005X5-Oj for garchives@archives.gentoo.org; Tue, 03 Feb 2009 19:12:04 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EC277E050B; Tue, 3 Feb 2009 19:12:01 +0000 (UTC) Received: from mail-ew0-f10.google.com (mail-ew0-f10.google.com [209.85.219.10]) by pigeon.gentoo.org (Postfix) with ESMTP id 8F287E050B for ; Tue, 3 Feb 2009 19:12:01 +0000 (UTC) Received: by ewy3 with SMTP id 3so1932812ewy.10 for ; Tue, 03 Feb 2009 11:12:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:mail-followup-to:references:mime-version:content-type :content-disposition:in-reply-to:x-homepage:x-operating-system :user-agent; bh=IukftTKyBAhrUhq76CEWQuIo+cZVcqG03G7vM8QRb0w=; b=eN7KMuBoMrPrb6z9+fI7E4JZ3Ec7TBUdP5k8RvRJO1OKisMlyce83unCGvDK9dzt3M /uT30WLPYysVB/SLYt8EQtk6r1J35Db2UP33YxpwkHAzsYmR8n6SsXhWHHJB6FZTCGNc yS3+ZF1BsqWv87+alJtpf6VomKxoP1X9UO4Po= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :x-homepage:x-operating-system:user-agent; b=pTQ3a0TKbDmFXY9XF63x8452I0vRp3vSswEIIm/Txsh8AhH7M/2xYya4YgRwPFDWAf LGfRGNzRl06zR+8UdZZTc1gwXCiGhxVZ6Y+qok9qzD/tMsY6k5zGk4fhj9uZpzr3PrQW 6seplAcz0bn8OY7zYioshWBk2QMq9AEdOK5QU= Received: by 10.86.59.18 with SMTP id h18mr3112021fga.45.1233688126281; Tue, 03 Feb 2009 11:08:46 -0800 (PST) Received: from localhost (host50-240-dynamic.15-87-r.retail.telecomitalia.it [87.15.240.50]) by mx.google.com with ESMTPS id l12sm754009fgb.11.2009.02.03.11.08.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 03 Feb 2009 11:08:45 -0800 (PST) Date: Tue, 3 Feb 2009 20:06:25 +0100 From: Momesso Andrea To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Different servers behind the same router Message-ID: <20090203190625.GB30510@revolver> Mail-Followup-To: gentoo-user@lists.gentoo.org References: <20090203174321.GA30119@revolver> 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 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3uo+9/B/ebqu+fSQ" Content-Disposition: inline In-Reply-To: X-Homepage: http://topperh.blogspot.com X-Operating-System: Gentoo Linux User-Agent: Mutt/1.5.16 (2007-06-09) X-Archives-Salt: 9f9d6da3-5751-4e32-b2cd-cab49407a63c X-Archives-Hash: 36b2d55a086245143e913d90c214103c --3uo+9/B/ebqu+fSQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 03, 2009 at 01:47:00PM -0500, Saphirus Sage wrote: > > > On Feb 3, 2009, at 12:43 PM, Momesso Andrea =20 > 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? >> >> =3D=3D=3D=3D=3D=3D=3D >> TopperH >> =3D=3D=3D=3D=3D=3D=3D > Configure your router for static IP assignment on the LAN and look at you= r=20 > router's manual for information about "port forwarding." Simply forward t= he=20 > required port from the WAN to the associated LAN IP and port number. Does it mean that I will need to have one single dyndns name and the connection will be forwarded depending on the port, or I will still be able to have different names? =3D=3D=3D=3D=3D=3D=3D TopperH =3D=3D=3D=3D=3D=3D=3D --3uo+9/B/ebqu+fSQ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkmIlbEACgkQTusdC+HYtiI6OwCcCJODVklFw+6BiLFWSVfXeRuh qdwAoO6nRkgAEZYiWedJN8eeju0rWi3s =RdPw -----END PGP SIGNATURE----- --3uo+9/B/ebqu+fSQ--