Re: address ranges for DNAT?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Frank.Mayer@xxxxxxxxxxxxxxxxx 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


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux