• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/iptables-1.4.x/extensions/
1This target allows you to statically map a whole network of addresses onto
2another network of addresses.  It can only be used from rules in the
3.B nat
4table.
5.TP
6\fB\-\-to\fP \fIaddress\fP[\fB/\fP\fImask\fP]
7Network address to map to.  The resulting address will be constructed in the
8following way: All 'one' bits in the mask are filled in from the new `address'.
9All bits that are zero in the mask are filled in from the original address.
10