Iptables:不允许使用多个 -d 标志(-dport 和 -d)

Iptables: Multiple -d flags not allowed(-dport and -d)

我试图在我的 iptables 中添加这样的命令:

sudo iptables -A OUTPUT -p tcp --tcp-flags RST RST -d 2.25.52.5 -dport 6784 -j DROP

我得到了

iptables v1.4.21: multiple -d flags not allowed

我正在尝试删除从我的机器发送到 2.25.52.5:6784 的 RST。

-d为目的地址,如果需要目的端口请使用--dport 6784

希望对您有所帮助。