See the HOW-TO on ipchains and ipmasqadm for more details...but in short:

Use ipchains to add a rule that will "REDIRECT" traffic on 192.168.2.1:80
redirect to 192.168.1.1:80, and another for the 192.168.3.1 address.  I
do not think you will need ipmasqadm unless you're redirecting and
forwarding outside your box (port forwarding), but it would help to check
it over.



On Wed, 28 Mar 2001, Lee Chin wrote:

> Hi,
> I have a system with 3 NIC cards, each on a seperate subnet, with IP
> addresses 192.168.1.1, 192.168.2.1 and 192.168.3.1.
> 
> I have a program listening for socket connections on 192.168.1.1, port 80.
> 
> What I want to do is have incomming connection requets for IP 192.168.2.1
> and 192.168.3.1 on port 80 also be handled by my server running on
> 192.168.1.1:80
> 
> How do I do this in Linux?
> 
> Thanks
> Lee
> 
> 
> ______________________________________________
> FREE Personalized Email at Mail.com
> Sign up at http://www.mail.com/?sr=signup
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to [EMAIL PROTECTED]
> Please read the FAQ at http://www.linux-learn.org/faqs
> 

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to