Hi all, ok, now I have the policy routing allmost as I want it, but not exactly. It seems to work perfectly for http, which is my main concern, but I don't get policy routing to work for me on ftp.
So now the questions. Would it be possible to add a functionality to ipfilter that implements full policy routing in ipf for those systems where that functionality is not present in the kernel? Basically, I like the power of the rules I have now, but I'd like them to be in place of the kernel router, for some rules. In my case, I'd like to route _only_ http and ftp traffic for my clients to a different router than the rest of the traffic, and that for allmost everything, except some small network. Currently, this seems to be possible only with some kludge. I'd like a real solution something like: [quick] [interface] <proto> <from ip> [<from ports>] <to ip> [<to ports>|<ICMP type>] [flags] <gateway ip> With a fall through to the kernel router when no match is found. I know that ipfilter can hardly match the routing performance of some of the heavily optimised kernels, but it could easily compete on functionality. Maybe an idea for ipfilter v4? -- Remco
