|
发表于 2006-5-8 08:44:03
|
显示全部楼层
- REDIRECT
- This target is only valid in the nat table, in the PREROUTING and OUT-
- PUT chains, and user-defined chains which are only called from those
- chains. It redirects the packet to the machine itself by changing the
- destination IP to the primary address of the incoming interface
- (locally-generated packets are mapped to the 127.0.0.1 address). It
- takes one option:
- --to-ports port[-port]
- This specifies a destination port or range of ports to use:
- without this, the destination port is never altered. This is
- only valid if the rule also specifies -p tcp or -p udp.
复制代码 |
|