Link to home
Start Free TrialLog in
Avatar of Alek
Alek

asked on

IP Forwarding beetween Linux & WinNT

Hi.

I have posted a message in news group and a member of experts-exchange have reply me to submit my problem :)

Well :

Like you know the NT servers need protection :)

I am trying to protect a NT Web server behind a Linux server. My config is
simple :

I have a linux box that masquarade the NT server. So the NT server have
192.168.200.2 for IP address, on my linux box i have Two IPs add assignated
with IP Aliasing : 134.***.***.55 & 134.***.***.56

Now it is simple, i want that, when a incoming http request arrive on the
134.***.***.56 IP add, this request is redirect to the 192.168.200.2 IP of
the NT web server Behind the linux box. Because all the web structure of the
site is on the NT box ( :/ )

So i thing that with one or two ip forwarding rules i can do that. But in
fact i can not do that with my rules because i do not know how to tell to
the ipfwadm utility to do that.

With ipfwadm you can specify Source and Destination but not redirection :/
with a rule like : ipfwadm -F -a m -V 134.***.***.56 -W eth0:1 -b -P all -S
0.0.0.0/32 -D 192.168.200.2/32 it doesn't works

my linux config is : Linux RedHat 4.2 with 2.0.32 kernel.

if someone have any idea it will be welcome :)

please answer me to : acassen@ifhamy.insa-lyon.fr

--
Cassen Alexandre
Engeneer student in the INSA de Lyon
ASKER CERTIFIED SOLUTION
Avatar of sauron
sauron

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Alek
Alek

ASKER

Thanks for that, i will install this :)

i prefere your solution, because i have had another solution but it was a NAT (Network Add Transaltion) that is not really good in my opinion.

Bye.

Alek.