随笔分类 -  linux

摘要:1、安装iptables yum install iptables-services 2、iptables简单使用 iptables防火墙文件路径/etc/sysconfig/iptables systemctl start iptables #启动服务 systemctl stop iptable 阅读全文
posted @ 2021-07-16 16:18 卯仙 阅读(305) 评论(0) 推荐(0)
摘要:1、防火墙的作用 防火墙是存在于内部网络和外部网络之间的软件或硬件系统,主要作用是根据设定的安全策略,允许计算机的哪些服务可以被远程用户或站点访问,或者阻止内部重要信息向外流出,有双向监督功能。 2、基于Netfilter的iptables防护墙 2.1、iptables数据包传输流程 如果目的地址 阅读全文
posted @ 2021-07-16 16:15 卯仙 阅读(411) 评论(0) 推荐(0)
摘要:firewalld的字符界面管理工具是 firewall-cmd firewalld默认配置文件有两个:/usr/lib/firewalld/ (系统配置,尽量不要修改)和 /etc/firewalld/ (用户配置地址) zone概念: 硬件防火墙默认一般有三个区,firewalld引入这一概念系 阅读全文
posted @ 2021-07-13 19:27 卯仙 阅读(158) 评论(0) 推荐(0)