Hi
Wondering how I would go about creating a firewall script,
for a machine that has multiple NICs.
eth0 - intranet
eth1 - internet
eth2 - webserver-DMZ

you would use iptables as usual. It has a rule modifier that specifies which interface the rule applies to.

So there is nothing special to the multi-NIC config as compared to the single NIC config.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.