随笔分类 -  linux系统学习 / 脚本存放 / iptables和firewalld

linux开启firewalld或iptables的日志记录--脚本
摘要:文件名:ip_fire.sh 内容: #!/bin/bash #iptables iptables_run(){ #修改日志文件 grep -e "^kern.*" /etc/rsyslog.conf flag_k=$? if [ $flag_k -eq 0 ] then echo "rsyslog 阅读全文

posted @ 2023-08-03 09:40 叶子在行动 阅读(238) 评论(0) 推荐(0) 编辑

导航