肠子淋巴瘤恶性是癌症:Linux下用iptables配置端口映射的问题

来源:百度文库 编辑:中科新闻网 时间:2024/05/04 13:25:16
用iptables配置端口映射时出现以下问题:
输入命令:iptables -t nat -A PREROUTING -d XXX.XXX.XXX.XXX -p tcp --dport 8767 -j dnat --to 192.168.1.3
出错提示:
iptables v1.3.5: Unknown arg `--dport'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.3.5: Unknown arg `--to'
Try `iptables -h' or 'iptables --help' for more information.

不知道是什么原因出错,请高手帮忙查找下错误,协助解决!!谢谢!!

没写转向的端
iptables -t nat -A PREROUTING -d XXX.XXX.XXX.XXX -p tcp --dport 8767 -j dnat --to 192.168.1.3:??