Pseudo-tasks:
Add routing tables for each WAN interface
Add routing rules that link FWMARK's with the routing tables previously created.
Add CONNMARK and MARK entries to PREROUTING and/or OUTPUT in order to keep track of sessions and direct traffic to the routing table you desire by setting the packet's firewall MARK.
Profit!
If you've exhausted researching what I have described above, come back and I'll give some more detail. I am pretty tired at this point, so I wouldn't be much help (2:00 am)..
Bruce Henshaw wrote:
Hello,
I have a need to direct certain traffic out certain WAN interfaces, which have dynamic addresses.
I'm unable to patch my 2.6.3 kernel with the ROUTE extension though. :( is there another way to do that?
I tried the new patch-o-matic-ng CVS and it says ROUTE requires kernel < 2.6.0
But I do see this file.
patch-o-matic-ng/ROUTE/linux-2.6/net/ipv4/netfilter/ipt_ROUTE.c
How I can add ROUTE in my 2.6.3 kernel?
Thanks very much for reading about my problem.
Bruce Henshaw