My Goal: Setup ipfilter to share two Internet connections.
Perhaps sharing is the wrong word. I would like ipfilters to use Internet connection 1 for any traffic, incoming and outgoing, through ports 21,25, 110, 143, 995, and maybe others. The rest of the traffic would travel through Internet connection 2 without limits.
The problem is that our office uploads numerous files through mail and ftp that are usually 50M, possibly larger. These uploads are unmanaged and suck the life out of our bandwidth. It sucks browsing the net like I was back on my 28.8 dial up. I just want to dedicate one of our connections for those uploads/downloads to relieve the office of these troubles.
Is it possible?
Look at Linux Advanced Routing howto (www.lartc.org). It will show you how. Chapter 11 is what you need. In short, you'd mark packets for ports 21,25,110, and so on using Netfilter and than you would route them thruogh one connection, and route everything else through another. While you are at LARTC, you can do more interesting things, like traffic shaping, to solve your problems (of some types of traffic getting too much of your bandwith).
-- Aleksandar Milivojevic <amilivojevic@xxxxxx> Pollard Banknote Limited Systems Administrator 1499 Buffalo Place Tel: (204) 474-2323 ext 276 Winnipeg, MB R3T 1L7