All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrea Rossato <mailing_list@istitutocolli.org>
To: netfilter@lists.netfilter.org
Subject: Re: Does IPTables have a 1:1 port-forwarding capability for a DNAT port-range ?
Date: Fri, 13 Dec 2002 13:02:56 +0100	[thread overview]
Message-ID: <3DF9CC70.3080603@istitutocolli.org> (raw)
In-Reply-To: <000601c2a23f$619ffef0$0100a8c0@zultys.com>

Ranjeet Shetye wrote:
> The reason for wanting a 1:1 rule is for X windows and other fat port
> ranges. Dont want hundreds of rules in there if one can do the job. Can
> IPTables do it ? If so how ? If not, I guess I'll have to get in touch
> with the developers for tips on a good starting point.

I believe that the only way is to hack nat code.
I will start looking in
net/ipv4/netfilter/ip_nat_core.c
and the function manip_pkt that, as far as I understand, is actually
writing the NATed packet
andrea



  parent reply	other threads:[~2002-12-13 12:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-13  0:34 Does IPTables have a 1:1 port-forwarding capability for a DNAT port-range ? Ranjeet Shetye
2002-12-13  9:02 ` Query.... redirecting traffic Paul Gibson
2002-12-13  9:47   ` Sander Sneekes
2002-12-13  9:57     ` Paul Gibson
2002-12-13 12:02 ` Andrea Rossato [this message]
2002-12-13 17:45   ` Does IPTables have a 1:1 port-forwarding capability for a DNAT port-range ? Ranjeet Shetye
  -- strict thread matches above, loose matches on Subject: below --
2002-12-13  0:24 Ranjeet Shetye

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=3DF9CC70.3080603@istitutocolli.org \
    --to=mailing_list@istitutocolli.org \
    --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.