From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lawrence MacIntyre Date: Thu, 04 Sep 2003 17:16:02 +0000 Subject: Re: [LARTC] port forwarding to different servers with nat MIME-Version: 1 Content-Type: multipart/mixed; boundary="=-uSioFPtQsWwEPOifRvPE" Message-Id: List-Id: References: In-Reply-To: To: lartc@vger.kernel.org --=-uSioFPtQsWwEPOifRvPE Content-Type: text/plain Content-Transfer-Encoding: quoted-printable So for example, you want one machine (call it fred) to have a web server on port 80, and another (call it wilma) to have a web server on port 8080? Simply forward port 80 to fred:80 and port 8080 to wilma:80.=20 Alternately, you can run wilma's webserver on port 8080 and forward port 8080 to wilma:8080. On Thu, 2003-09-04 at 13:05, Ben wrote: > Hey guys, here's a basic problem I cannot seem to figure out. I've got a=20 > box doing NAT for some servers and masquarading for a bunch of other=20 > desktops. The way I have it working, I need to the give my NAT box one=20 > IP number for the masquarding, and then one additional IP number for each= =20 > server it NATs for. That's a waste; I'd like to give the NAT box one IP=20 > for all servers, and then forward to the correct server based on port.=20 > (Yes, that implies none of the servers can run services on the same port,= =20 > and I'm fine with that.) >=20 > It seems like this should be a pretty common scenario, but I haven't been= =20 > able to get it working and I haven't seen any examples online. I'm sure=20 > *somebody* has it working.... would that person please share the wealth? >=20 >=20 > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ --=-uSioFPtQsWwEPOifRvPE Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQA/V3NSCNjP8rawCW4RAlvoAJ4yI+REMiVAP7lL8+wRL1kiSNbERQCfVmpg FLP8hRGB1EECgQYPYxdyYdY= =8n80 -----END PGP SIGNATURE----- --=-uSioFPtQsWwEPOifRvPE-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/