Solved

IP Forwarding beetween Linux & WinNT

Posted on 1997-11-17
2
204 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

730 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