Multiple Ethernet Devices

If you have multiple ethernet NICs that you want to apply all rules to, then you can set ETH_DEVICE or ETH6_DEVICE (for ipv6) in /etc/csf/csf.conf to the interface name immediately followed by a plus sign. For example, eth+ will apply all iptables rules to eth0, eth1, etc.

If you leave ETH_DEVICE blank all rules will be applied to all ethernet devices equally.

Related Files

File Description
/etc/csf/csf.conf ETH_DEVICE ETH6_DEVICE configuration options.