摘要: service iptables status 查看防火墙状态 service iptables start 开启防火墙 service iptables stop 关闭防火墙 service iptables restart 重启防火墙 防火墙开放特定端口 文件/etc/sysconfig/ipt 阅读全文
posted @ 2020-02-27 20:46 雨中上人 阅读(2950) 评论(0) 推荐(0) 编辑
摘要: 允许访问vi /etc/hosts.allow添加(可以添加多行,其中“:allow”可以省率)sshd:192.168.81.*:allow #表示192.168.81.* ip段都能ssh访问sshd:all:allow #表示允许所有ip 的ssh访问sshd:192.168.81.74:al 阅读全文
posted @ 2020-02-27 20:45 雨中上人 阅读(2074) 评论(0) 推荐(0) 编辑