linux设置黑白名单

vi /etc/hosts.allow   /etc/hosts.deny

sshd:210.13.218.*:allow

sshd:210.13.218.*:deny


修改完后要service xinetd restart