随笔分类 -  系统安全

摘要:iptables应用 环境 centos7 iptables-services安装 [root@localhost ~]# yum -y install iptables-services #centos7系统中默认存在iptables命令,此命令仅为简单查询及操作命令,不包含配置文件,安装ipta 阅读全文
posted @ 2021-06-29 18:55 元奇 阅读(147) 评论(0) 推荐(0)
摘要:1、安装iptables [root@template-host ~]# yum install -y iptables iptables-services 2、拷贝原始配置文件 [root@server1 pub]# cp /etc/sysconfig/iptables{,.bak} 2、设置ip 阅读全文
posted @ 2021-06-28 18:09 元奇 阅读(111) 评论(0) 推荐(0)
摘要:iptables iptables是什么? iptables不是防火墙,是防火墙用户代理 用于把用户的安全设置添加到“安全框架”中 “安全框架”是防火墙 “安全框架”的名称为netfilter netfilter位于内核空间中,是Linux操作系统核心层内部的一个数据包处理模块 iptables是用 阅读全文
posted @ 2021-06-25 16:51 元奇 阅读(1242) 评论(0) 推荐(0)
摘要:系统安全 一、系统权限 一、安装系统 选择稳定版操作系统 最小化安装 不要安装gcc,make 安装完系统后更新系系统 [root@1oca1host ~]# yum -y update 二、文件(目录)权限 1.基本权限rwx 对于目录,默认权限=777-umask 〇对于文件,默认权限=666- 阅读全文
posted @ 2021-06-23 19:04 元奇 阅读(430) 评论(0) 推荐(0)