public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  OT: iptables w/ 2 web servers
@ 2009-09-23 21:35 James
  2009-09-23 21:49 ` kashani
  2009-09-24  3:48 ` Stroller
  0 siblings, 2 replies; 7+ messages in thread
From: James @ 2009-09-23 21:35 UTC (permalink / raw
  To: gentoo-user

Hello,


I have one static  IP with DNS (primary and secondary)
performed by my isp. I'm setting up a second web server
with a different domain name. It is setup already by the ISP
for DNS. Could someone post
some simple iptable examples of how to route 2 different
web server traffic streams to 2 different machines?

Both are inside the same DMZ....2 different machines
with different (NAT) IP addresses.


Right now, all port 80 traffic is auto forwarded to
a single NAT address on the firewall. Simple. Now I have 
to figure out how to  forward different web traffic streams 
to 2 different NAT ip addresses, each on a different ip 
address and a different machine.


I do not want to put the sites on the same machine, for a variety
of reasons, beside one machine moves in a few months to a 
different physical location (and network numbers).


Suggestions or a good book for example would be keen.
I use raw IPtables/netfilter on the firewall. All servers
are gentoo.


James






^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-09-25 12:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-23 21:35 [gentoo-user] OT: iptables w/ 2 web servers James
2009-09-23 21:49 ` kashani
2009-09-24  3:48 ` Stroller
2009-09-24 15:30   ` [gentoo-user] " James
2009-09-24 16:58     ` kashani
2009-09-24 17:58     ` Stroller
2009-09-25 12:40     ` Etaoin Shrdlu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox