Re: Forward with IPTABLES

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Am Mi, den 12.01.2005 schrieb Guillermo Javier Nardoni um 23:54:
> we have 2 domains hosted by our servers (www.domainA.com and
> www.domainB.com)
> when a customer asks for a webpage (through ppp0) port 80 at www.domainA.com
> i want to redirect it to our Windows 2000 server (it domain is written in
> ASP), but when some customers ask for a webpage from the other one (domainB)
> the page must flow-back  to the customer from linux server instead of
> Windows.
If both domain have different IP adresses you can do it with DNAT using
iptables.
If both domain share the same IP address you need a reverse proxy.

Ralf
-- 
Ralf Spenneberg <lists@xxxxxxxxxxxxxx>



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux