Solved

IP Forwarding beetween Linux & WinNT

Posted on 1997-11-17
2
205 Views
Last Modified: 2010-03-18
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
0
Comment
Question by:Alek
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Accepted Solution

by:
sauron earned 200 total points
ID: 1586858
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
 

Author Comment

by:Alek
ID: 1586859
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

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question