Hello, Diego Alencar Alves de Lima a écrit :
I'd like to know if there is any way I can add a DNAT rule that will nat an entire range of IP addresses to another range (which has the same network mask). Something like this: -t nat -A PREROUTING -d 192.168.0.0/24 -j DNAT --to 192.168.1.0/24 I need to keep the host address, just change the destination network address. Thank you,
Check the NETMAP target. - To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html