运行
iptables -I INPUT -p tcp -m multiport –dport 80,443,8080,3306,8989,9001,9002,9003,53 -j ACCEPT;
保存
service iptables save;service iptables restart;
查看
iptables -nvL
80,443,8080,3306,8989,9001,9002,9003,53是你要开的端口
运行
iptables -I INPUT -p tcp -m multiport –dport 80,443,8080,3306,8989,9001,9002,9003,53 -j ACCEPT;
保存
service iptables save;service iptables restart;
查看
iptables -nvL
80,443,8080,3306,8989,9001,9002,9003,53是你要开的端口