public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Grant Edwards <grante@visi.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user]  Re: How to do port-based routing?
Date: Mon, 3 Mar 2008 20:38:36 +0000 (UTC)	[thread overview]
Message-ID: <fqhnkc$q5$2@ger.gmane.org> (raw)
In-Reply-To: 47CC5D2F.3020206@badapple.net

On 2008-03-03, kashani <kashani-list@badapple.net> wrote:

> I'm not aware of any iptables front end that will also manager
> policy based routing which is Cisco-ese and maybe general
> Network-ese for what you're trying to do. However I would use
> shorewall (or whatever you prefer) to do most of the work and
> then insert your custom rules where they need to go.

AFAICT, I only need to add 1 iptable rule to mark outbound
frames destined to particular ports.

> All policy routing regardless of actual implementation has you
> build an ACL of traffic you'd like messed with. Then you need
> to specify what happens to traffic that matches the ACL.
> However one thing the original how-to you linked left didn't
> completely spell out is NAT. You MUST NAT on each interface or
> you'll have all sorts of routing fun that does not work.

I don't understand why I have to do NAT.  Can you explain why?
(Or point me to docs that explain why?)

-- 
Grant Edwards                   grante             Yow!
                                  at               BI-BI-BI-BI-BI-BI-BI-BI-BI-BI-BI-BI-BI-BI-BI-BI-BI-BI-BI-BI-BI-BI-BI-BI-
                               visi.com            

-- 
gentoo-user@lists.gentoo.org mailing list



  reply	other threads:[~2008-03-03 20:40 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-03 18:05 [gentoo-user] How to do port-based routing? Grant Edwards
2008-03-03 18:25 ` Uwe Thiem
2008-03-03 19:26   ` [gentoo-user] " Grant Edwards
2008-03-03 19:32     ` Jason Carson
2008-03-03 19:32     ` Arturo 'Buanzo' Busleiman
2008-03-03 19:11 ` [gentoo-user] " Jason Carson
2008-03-03 19:36   ` [gentoo-user] " Grant Edwards
2008-03-03 20:12     ` Dan Cowsill
2008-03-03 20:34       ` Grant Edwards
2008-03-03 20:18     ` kashani
2008-03-03 20:38       ` Grant Edwards [this message]
2008-03-03 20:50         ` Grant Edwards
2008-03-03 21:09         ` kashani
2008-03-03 21:35           ` Grant Edwards
2008-03-06 22:29   ` [gentoo-user] " Dan Farrell
2008-03-06 23:00     ` Mark David Dumlao

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='fqhnkc$q5$2@ger.gmane.org' \
    --to=grante@visi.com \
    --cc=gentoo-user@lists.gentoo.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