public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
From: Ray Olszewski <ray@comarre.com>
To: Kev <savage-garden@hanikamail.com>, linux-newbie@vger.kernel.org
Subject: Re: route to deferent gateways depend on the protocol
Date: Mon, 20 Dec 2004 08:42:11 -0800	[thread overview]
Message-ID: <5.1.0.14.1.20041220083554.01f46718@celine> (raw)
In-Reply-To: <20041220141714.BDCE.SAVAGE-GARDEN@hanikamail.com>

At 02:17 PM 12/20/2004 +0600, Kev wrote:
>Hi all,
>
>is it possible to route to deferent gateways depend on the protocol (Eg:SMTP)
>using Linux routing tabes or iptabels, if so does any one know how to do
>it ?

With respect to routing tables, the answer is a definite no. Routing tables 
operate only at the IP-address level (network layer), and protocols are the 
next level up (transport layer -- TCP or UDP).

With respect to iptables ... I cannot immediately think of a way to do 
this, but iptables offers an awful lot of flexibility, so I would not rule 
out some tricky solution, especially in a context where the gateways are 
NATing routers. But I have nothing specific to suggest.


>thanks
>Kev





-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

  reply	other threads:[~2004-12-20 16:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-20  8:17 route to deferent gateways depend on the protocol Kev
2004-12-20 16:42 ` Ray Olszewski [this message]
2004-12-20 17:32   ` J.
2004-12-21  2:21   ` Re[2]: " Kev

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=5.1.0.14.1.20041220083554.01f46718@celine \
    --to=ray@comarre.com \
    --cc=linux-newbie@vger.kernel.org \
    --cc=savage-garden@hanikamail.com \
    /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