* address ranges for DNAT?
@ 2006-02-02 16:18 Frank.Mayer
2006-02-02 16:38 ` Jörg Harmuth
0 siblings, 1 reply; 3+ messages in thread
From: Frank.Mayer @ 2006-02-02 16:18 UTC (permalink / raw)
To: netfilter
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?
Thanks in advance for your help!
Frank Mayer
UNIX Systemadministration
----------------------------------------------------
KNAPP Systemintegration GmbH
Waltenbachstrasse 9
8700 Leoben, Austria
----------------------------------------------------
Phone: +43 3842 805-921
Fax: +43 3842 82930-921
frank.mayer@knapp-systems.com
www.knapp.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: address ranges for DNAT?
2006-02-02 16:18 address ranges for DNAT? Frank.Mayer
@ 2006-02-02 16:38 ` Jörg Harmuth
2006-02-02 16:48 ` Antwort: " Frank.Mayer
0 siblings, 1 reply; 3+ messages in thread
From: Jörg Harmuth @ 2006-02-02 16:38 UTC (permalink / raw)
To: netfilter
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Antwort: Re: address ranges for DNAT?
2006-02-02 16:38 ` Jörg Harmuth
@ 2006-02-02 16:48 ` Frank.Mayer
0 siblings, 0 replies; 3+ messages in thread
From: Frank.Mayer @ 2006-02-02 16:48 UTC (permalink / raw)
To: netfilter
Thanks very much!
Sometimes you don't see the wood for the trees!
Frank Mayer
UNIX Systemadministration
----------------------------------------------------
KNAPP Systemintegration GmbH
Waltenbachstrasse 9
8700 Leoben, Austria
----------------------------------------------------
Phone: +43 3842 805-921
Fax: +43 3842 82930-921
frank.mayer@knapp-systems.com
www.knapp.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-02-02 16:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-02 16:18 address ranges for DNAT? Frank.Mayer
2006-02-02 16:38 ` Jörg Harmuth
2006-02-02 16:48 ` Antwort: " Frank.Mayer
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.