X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=trunk%2Fextensions%2Flibipt_NETMAP.man;fp=trunk%2Fextensions%2Flibipt_NETMAP.man;h=f6a933c6367d4df9e27c53d61838d41bf44590c6;hb=65d1e3fdac47d3d758f6f018457c28d6f3f6306a;hp=0000000000000000000000000000000000000000;hpb=98c90cbcc6f660e13f9e7878bbb80dfc9d03ceae;p=iptables.git diff --git a/trunk/extensions/libipt_NETMAP.man b/trunk/extensions/libipt_NETMAP.man new file mode 100644 index 0000000..f6a933c --- /dev/null +++ b/trunk/extensions/libipt_NETMAP.man @@ -0,0 +1,9 @@ +This target allows you to statically map a whole network of addresses onto +another network of addresses. It can only be used from rules in the +.B nat +table. +.TP +\fB--to\fP \fIaddress\fP[\fB/\fP\fImask\fP] +Network address to map to. The resulting address will be constructed in the +following way: All 'one' bits in the mask are filled in from the new `address'. +All bits that are zero in the mask are filled in from the original address.