If i understood you correctly:
1) add an extra table (table 50 below) which just routes by fwmark:
NOTE: all your other routes go to the main routing table
ip route add table 50 0/0 via goodISPgateway dev goodISPdev
ip ro ls table 50 to show the entry
ip ro ls will give you entries on the main table
and route -n should still work
2) create your ipchains entry on the input chain
ipchains -I input -p tcp -d 0/0 www -m 1
ipchains -L to list
3) Add the rule to redirect fw mark 1 to table 50
ip ru add fwmark 1 table 50
Since i havent tested this you might need to play with it a
little.
cheers,
jamal
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu