Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Simon Garner" <sgarner@expio.co.nz>
To: netfilter@lists.netfilter.org
Subject: Re: NAT with two Internet links
Date: Thu, 16 Oct 2003 20:45:37 +1300	[thread overview]
Message-ID: <01d101c393b9$a8e3f390$0301a8c0@SIMON> (raw)
In-Reply-To: 01b801c393b0$3c837080$0301a8c0@SIMON

On Thursday, October 16, 2003 7:37 PM [GMT+1200=NZT],
Simon Garner <sgarner@expio.co.nz> wrote:

> Hi,
>
> I have a small network with several Windows client PCs, a Linux
> firewall/server, and two links to the Internet. What I want to do is
> have certain traffic (based on source and/or destination ports) routed
> through one link while everything else goes through the other.
>

Nevermind, after a bit more googling I found the answer myself. The
solution is to mark the wanted packets with iptables and then route them
with iproute2, as per:
http://www.lartc.org/howto/lartc.netfilter.html

-Simon



  reply	other threads:[~2003-10-16  7:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-16  6:37 NAT with two Internet links Simon Garner
2003-10-16  7:45 ` Simon Garner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-10-16  9:08 Gaby Schilders

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='01d101c393b9$a8e3f390$0301a8c0@SIMON' \
    --to=sgarner@expio.co.nz \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox