Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有人可以使用以下要求帮助我iptables:
iptables
我通过谷歌搜索尝试了以下规则,
iptables -P OUTPUT DROP
它丢弃了所有东西,我还可以看到一些只允许某些 ips 的规则
我无法!清楚地表达出来。
!
不知道我明白你的问题是什么,(!)运算符表示否定,例如 --src !10.1.1.1 匹配所有具有不同源 IP 的流量,“允许所述流量”是什么意思?”