Solved

IP Forwarding beetween Linux & WinNT

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

706 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now