using iptables to define routing rules
i want to define some routing rules for my test networks using iptables.
so my first question can be is it possible to use iptables to select a path from two different available paths.
further here i explain my situation.
i have 4 networks with me NetX(192.168.1.0), NetA(192.168.2.0) NetB(192.168.3.0) and NetY(192.168.4.0)
now there is no direct access from NetX to NetY but through NetA or NetB.
I want send some traffic through NetA and some through NetB and lets assume at the moment all the traffic for port 80 will go through NetA and rest of the traffic will go through NetB.
so i want to know how to built a firewal at the point where NetX, NetA and NetB meet so that from that point onward traffic is diverted in two paths.