iptables config on a bridging firewall
Hey guys, just looking to clear up a quick question here.
I've been playing around with setting up a bridging firewall on a spare box. Currently have it sitting between the cable modem and my router. Everything is working nicely, except for one nagging question.
If I understand things correctly, because the system is bridged, none of the traffic would pass through the Input/Output chains, right? All data would be passing through Forward instead, as none of the traffic is intended for the firewall box itself.
Originally, I set the rules up based on examples I saw that didn't involve bridging, so most of the rules were applied to the Input/Output chains. In the case of a bridge, I could rewrite the rules script to replace all Input/Output with Forward (all the rules specifiy the in and out devices, so direction should be taken care of), drop any duplicate rules that may occur, set Input/Output to a flat deny, and I should be good to go, right?