Forward with IPTABLES

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

 



Hello, could you let me know if i can forward incoming packets from a
specific IP address to an internal Server?

for example.
we have a linux box running Red Hat 9 (Shrike) with this Networking
configuration.

eth0 (sis9000) ip: 10.0.0.1 (connected to an ADSL "modem" (Cisco 677))
ppp0 Internet Conection using PPPoE through eth0 which is connected the ADSL
(Dynamic IP)
eth1 (rtl8139) ip: 192.168.0.1 (connected to the internal network and acting
as Transparent Proxy (with Squid and IPTABLE)

the other Server (internal server) is running a Windows 2000 SP4
eth0: rtl8139 ip: 192.168.0.2

what i want to do is this:

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.

may i Explain?
Thank you so much.



Lo saluda muy cordialmente,

Guillermo Javier Nardoni
e-mail: gjnardoni@xxxxxxxxx
Rosario - Santa Fe
Tel: 03402-15540590
Est. de Ing. en Sistemas



[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