[TriLUG] iptables with more than 2 nics
Jason Tower
jason at cerient.net
Mon May 3 10:49:45 EDT 2004
there are a bunch of iptables scripts on this page, at least a few of
which deal with multiple interfaces:
http://www.linuxguruz.com/iptables/
jason
On Monday 03 May 2004 10:18, Ryan Leathers wrote:
> Im interested in setting up iptables on a host with several nics. I
> thought this would be a snap but its got me stumped. Now I must
> admit that I have a lot more experience with hardware firewalls
> (Cisco PIX) than with IPTABLES, and part of my problem may be that Im
> trying to see IPTABLES conform in some way to my tainted
> expectations.
>
> In short, I want to assign rules on a per interface basis. I want to
> masq between eth0 and eth1 as well as between eth0 and eth2. I want
> eth1 to permit certain traffic and eth2 to permit a different set of
> traffic. Simply plugging in "-i eth1" isn't getting me where I
> thought it would.
>
> I have set up a number of IPTABLES instances where one or two nics
> were used, but can't find any examples of multi-nic iptables. Can
> anyone point me to good examples?
>
>
> --
> Ryan Leathers <ryan.leathers at globalknowledge.com>
> Global Knowledge
More information about the TriLUG
mailing list