1.The first is the mangle table which is responsible for the alteration of quality of service bits in the TCP header. 2.The second table is the filter queue which is responsible for packet filtering. * Forward chain: Filters packets to servers prot
关闭firewall service firewalld stop systemctl disable firewalld.service #禁止firewall开机启动 安装iptables规则: yum install iptables-services #安装 打开/etc/sysconfig/iptables配置文件 默认: # sample configuration for iptables service # you can edit this manually or use sy
一.故障描述 由于开发提出需求,为他们搭建内部ftp服务器,搭建好后,提交给他们,测试可以正常使用.后来过了一段时间后,有一天无法登陆了.于是去ftp主机上检查问题,ftp的配置文件没有改动,端口监听也正常.telnet也可以通.但是用网页,或者winscp 访问就是无法连接.后来谷歌后,发现ftp的iptables 规则比其它应用不太像,有点特别.需要特别的修改下防火墙.(询问后,得知之前其它运维同事加固过该机器的防火墙....) 二.解决方式 1.在原有的防火墙规则中加入以下规则. -A I