会员
周边
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
首页
新随笔
订阅
管理
2019年1月31日
linux centos7添加ip黑名单禁止某个ip访问
摘要: centos7用的是firewall 添加单个黑名单只需要把ip添加到 /etc/hosts.deny 格式 sshd:$IP:deny vim /etc/hosts.deny 添加你要禁止的ip就可以了 这是允许的 /etc/hosts.allow sshd:19.16.18.1:allow ss
阅读全文
posted @ 2019-01-31 19:37 emanlee
阅读(13367)
评论(0)
推荐(1)
编辑