Here is the only command I have in my /etc/ipchains.forward (credited to
Charles Steinkuehler) to route between 192.168.9.x and 192.168.3.x
internal subnets

$IPCH -A forward -j ACCEPT -s 192.168.9.0/24 -d 192.168.3.0/24 -b



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Lee Kimber
Sent: Sunday, May 19, 2002 9:30 PM
To: [EMAIL PROTECTED]
Subject: [leaf-user] How to use ipchains.forward

Hi,

I've not been able to find what I think is an efficient solution to my 
problem so I'm wondering if anyone knows of documentation on this.

I've got a four NIC Dachstein box with one NIC connected to the Internet

and the other three NICs all set up on 192.168.x.0/24 subnets. To make
the 
box route between these subnets I know I need to add a rule or rules to 
/etc/ipchains.forward. (I've added the subnets to INTERN_NET in 
/etc/network.conf).

So I've tried to get my head around ipchains and come up with the
following 
ruleset for /etc/ipchains.forward

ipchains -A forward -p all -s 192.168.0.0/16 0:65535 -d 192.168.0.0/16 
0:65535 -i eth1
ipchains -A forward -p all -s 192.168.0.0/16 0:65535 -d 192.168.0.0/16 
0:65535 -i eth2
ipchains -A forward -p all -s 192.168.0.0/16 0:65535 -d 192.168.0.0/16 
0:65535 -i eth3

Anyone know of a more efficient (ie troubleshootable) way of writing
this 
set of rules?  I'm way beyond my comfort level with ipchains as you can 
probably tell ;-)

Thanks

Lee

_______________________________________________________________
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/


------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html




_______________________________________________________________
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/


------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to