All of lore.kernel.org
 help / color / mirror / Atom feed
* Two connections shared by ports
@ 2004-11-03 16:25 Tony VanScoy
  2004-11-03 16:30 ` Gavin Hamill
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Tony VanScoy @ 2004-11-03 16:25 UTC (permalink / raw)
  To: netfilter

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?


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Two connections shared by ports
  2004-11-03 16:25 Two connections shared by ports Tony VanScoy
@ 2004-11-03 16:30 ` Gavin Hamill
  2004-11-03 16:33 ` Michael Gale
  2004-11-03 16:44 ` Aleksandar Milivojevic
  2 siblings, 0 replies; 4+ messages in thread
From: Gavin Hamill @ 2004-11-03 16:30 UTC (permalink / raw)
  To: netfilter

On Wednesday 03 November 2004 16:25, Tony VanScoy wrote:
> 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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Two connections shared by ports
  2004-11-03 16:25 Two connections shared by ports Tony VanScoy
  2004-11-03 16:30 ` Gavin Hamill
@ 2004-11-03 16:33 ` Michael Gale
  2004-11-03 16:44 ` Aleksandar Milivojevic
  2 siblings, 0 replies; 4+ messages in thread
From: Michael Gale @ 2004-11-03 16:33 UTC (permalink / raw)
  To: Tony VanScoy, netfilter

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.



Tony VanScoy wrote:
> 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?
> 
> 
> 
> 
> 

-- 
Michael Gale
Lan Administrator
Utilitran Corp.

We Pledge Allegiance to the Penguin


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Two connections shared by ports
  2004-11-03 16:25 Two connections shared by ports Tony VanScoy
  2004-11-03 16:30 ` Gavin Hamill
  2004-11-03 16:33 ` Michael Gale
@ 2004-11-03 16:44 ` Aleksandar Milivojevic
  2 siblings, 0 replies; 4+ messages in thread
From: Aleksandar Milivojevic @ 2004-11-03 16:44 UTC (permalink / raw)
  To: netfilter

Tony VanScoy wrote:
> 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@pbl.ca>    Pollard Banknote Limited
Systems Administrator                           1499 Buffalo Place
Tel: (204) 474-2323 ext 276                     Winnipeg, MB  R3T 1L7


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-11-03 16:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-03 16:25 Two connections shared by ports Tony VanScoy
2004-11-03 16:30 ` Gavin Hamill
2004-11-03 16:33 ` Michael Gale
2004-11-03 16:44 ` Aleksandar Milivojevic

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.