您的当前位置:首页 >IT科技类资讯 >教你如何关闭iptables网络端口 正文

教你如何关闭iptables网络端口

时间:2025-11-04 20:56:02 来源:网络整理编辑:IT科技类资讯

核心提示

复制iptables-PFORWARDDROP iptables-AFORWARD-s192.168.5.6-ptcp--dport110-jACCEPT

教你如何关闭iptables网络端口
教何复制  iptables -P FORWARD DROP     iptables -A FORWARD -s 192.168.5.6 -p tcp --dport 110 -j ACCEPT     iptables -A FORWARD -s 192.168.5.6 -p tcp --dport 25 -j ACCEPT   1.2.3.4.5.6.