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
AlekAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sauronCommented:
Pick up the ipautofw tool, this will allow you to redirect requests towards one IP/port combination to another. The masquerading you already have in place will take care of the outgoing packets, and make it appear as though they originated from the IP address of the Linux box.

IPautofw is available from

ftp://ftp.netis.com/pub/members/rlynch/
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AlekAuthor Commented:
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.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.