Two connections shared by ports
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?
Quoted 4 lines · Tony VanScoy
My Goal: Setup ipfilter to share two Internet connections.
The problem is that our office uploads numerous files through mail and ftp that are usually 50M, possibly larger.
You're in a very fortunate position - because your problem is related to excessive data leaving your network, you can implement traffic shaping... google for 'wonder shaper' - it should be the first hit...
Then you can use the second connection purely for your own BitTorrents ;)
Cheers,
Gavin.
Hello,
I do not believe this is possible with ipfilter, iproute2 maybe be able
to help, by routing traffic based on source IP address.
Why not use multiple internal nics and network addresses or limit the amount of bandwidth available to FTP / SMTP traffic.
If you only allowed FTP to use a maximum of 10% of the total bandwidth, that would solve the problem.
Michael.
Quoted 12 lines · Tony VanScoy
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?
Signature · 5 lines
Michael Gale Lan Administrator Utilitran Corp. We Pledge Allegiance to the Penguin
Quoted 7 lines · Tony VanScoy
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).
Signature · 3 lines
Aleksandar Milivojevic <[email protected]> Pollard Banknote Limited Systems Administrator 1499 Buffalo Place Tel: (204) 474-2323 ext 276 Winnipeg, MB R3T 1L7