CentOS6.3 使用 # iptables -I RH-Firewall-1-INPUT 9 -p udp --dport 8080 -j ACCEPT 开启端口时老报:
iptables: No chain/target/match by that name.
解决方法:
改成:iptables -I INPUT 9 -p udp --dport 8080 -j ACCEPT
CentOS6 默认移除了RH-Firewall-1-INPUT,而所有的都在 INPUT 中处理,所以将RH-Firewall-1-INPUT 改成 INPUT 就可以解决问题
/sbin/iptables -I INPUT -p tcp --dport 6379 -j ACCEPT
/sbin/iptables -I OUTPUT -p tcp --dport 6379 -j ACCEPT
CentOS6.3 iptables: No chain/target/match by that name.
原创
©著作权归作者所有:来自51CTO博客作者mb6440a93307547的原创作品,请联系作者获取转载授权,否则将追究法律责任
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
iptables: No chain/target/match by that name.
问题描述重设宿主机网关、重启宿主机 network .docker 容器处于运
iptables docker 重启 防火墙配置 -
启动容器 iptables 报No chain/target/match by that name
docker容器 iptables
docker容器 iptables -
protues74HC595
Arduino学习过程中很多童鞋都对74HC595表示晦涩难懂,今天我就来整理一下基本功能,让童鞋们呢能快速上手! 74HC595是一个8位串行输入、并行输出的位移缓存器。 其本质就是 串 行输 入 (一个端口 输入)、 并 行输 出 (8个端口 输出)。
protues74HC595 #Arduino #74Hc595 引脚 数据
















