ying568353087

版本说明
iptables这个防火墙是需要yum安装了以后才有的,centos6默认有,7已经没有了

firewall

systemctl stop firewalld 临时关闭

systemctl disable firewalld ,然后reboot 永久关闭

systemctl status  firewalld 查看防火墙状态。

 

 selinux

setenforce 0 临时关闭
vim /etc/sysconfig/selinux修改为disabled 永久关闭

 

iptables
iptables -I INPUT -p tcp --dport 10050 -j ACCEPT
/etc/rc.d/init.d/iptables save
service iptables restart
iptables --list查看规则
/sbin/iptables -L -n

分类:

技术点:

相关文章:

  • 2021-09-25
  • 2021-06-27
  • 2021-09-12
  • 2021-12-06
  • 2022-02-25
猜你喜欢
  • 2022-01-13
  • 2021-11-16
  • 2021-12-11
  • 2022-12-23
  • 2021-06-20
  • 2022-12-23
  • 2021-11-23
相关资源
相似解决方案