From: "Jörg Harmuth" <harmuth@mnemon.de>
To: netfilter@lists.netfilter.org
Subject: Re: address ranges for DNAT?
Date: Thu, 02 Feb 2006 17:38:27 +0100 [thread overview]
Message-ID: <43E23583.6090005@mnemon.de> (raw)
In-Reply-To: <OF4D424FC0.85176AB6-ONC1257109.0057FA9D-C1257109.00599B45@knapp.com>
Frank.Mayer@knapp-systems.com schrieb:
> Hello,
>
> I need to map a whole /24 network of incoming addresses to a different /24
> network, e.g.
> 10.0.1.0/24 -> 1921.168.27.0/24
> such that
> 10.0.1.1 is mapped to 192.168.27.1,
> 10.0.1.2 is mapped to 192.168.27.2,
> and so on to
> 10.0.1.254 is mapped to 192.168.27.254
>
> Is there any short syntax for this or do I really need to define 254
> single DNAT rules?
May be the NETMAP target is usefull.
Have a nice time,
Joerg
next prev parent reply other threads:[~2006-02-02 16:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-02 16:18 address ranges for DNAT? Frank.Mayer
2006-02-02 16:38 ` Jörg Harmuth [this message]
2006-02-02 16:48 ` Antwort: " Frank.Mayer
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=43E23583.6090005@mnemon.de \
--to=harmuth@mnemon.de \
--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