All of lore.kernel.org
 help / color / mirror / Atom feed
From: Aleksandar Milivojevic <amilivojevic@pbl.ca>
To: netfilter@lists.netfilter.org
Subject: Re: Two connections shared by ports
Date: Wed, 03 Nov 2004 10:44:34 -0600	[thread overview]
Message-ID: <41890AF2.9050402@pbl.ca> (raw)
In-Reply-To: <41890694.8070706@treedesign.com>

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


      parent reply	other threads:[~2004-11-03 16:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41890AF2.9050402@pbl.ca \
    --to=amilivojevic@pbl.ca \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.