Hi, Bert, Hi All
I finished the
reading of you Linux Advanced Routing & Traffic Control HOWTO...
Congratulations for the excelent job ! You HOWTO helped me to implement my
firewall and NAT/Routing.
Could you please
help me in a little doubt that I can't figure ?
I have just one C
IP: 200.189.73.130
In the begining,
there was a Windows 2000 machine answering for these hosts. Today I have (
finaly ) a Linux RH 7.3 Box :)
The problem is: I
can't use Apache in the Linux box as web server because of some .asp
applications we have here. So, I did a routing from the linux box to the Windows
2000 box, answering for my internal B IP's: 192.168.0.1 is the linux box.
www.realad.com.br has 192.168.0.2 as
IP in IIS and www.realmedia.com.br has 192.168.0.5
as ip in IIS.
I did the following
to route packages that comes from internet to port 80 in the Linux box to port
80 in the internal W2K box:
iptables -t nat -A
PREROUTING -p tcp -i eth0 --dport 80 -j DNAT --to-destination
192.168.0.2:80
and, for internal
routing:
iptables -t nat -A
PREROUTING -p tcp -d 200.189.73.130 --dport 80 -j DNAT --to
192.168.0.2:80
Can anybody help me ???
Thanks a
lot