小编ale*_*333的帖子

iptables - 允许来自整个 10.xxx 的流量

有没有办法配置 iptables 来接受来自 10.anything 的流量?

目前我有单一地址的规则,但我想要整个范围:

sudo iptables -I INPUT --src 10.240.74.164 -m tcp -p tcp --dport 80 -j ACCEPT
Run Code Online (Sandbox Code Playgroud)

我需要如何更改上述规则?

任何帮助,将不胜感激。

firewall iptables

4
推荐指数
1
解决办法
466
查看次数

标签 统计

firewall ×1

iptables ×1