【发布时间】:2015-10-17 15:18:02
【问题描述】:
我的嵌入式系统使用的是 linux kernel 3.4。
我尝试了设置iptable规则的命令:
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 8080
但我收到了这条消息:
iptables v1.4.10: unknown option `--to-port'
Try `iptables -h' or 'iptables --help' for more information.
难道不能在 linux kernel 3.4 上使用--to-port 选项吗?
还有其他选择或解决方案吗?
【问题讨论】:
标签: linux redirect embedded firewall iptables