http://blog.csdn.net/catoop/article/details/50476099

登录信息在 /var/log/secure

linux ip白名单

配置文件:/etc/hosts.allow

    /etc/hosts.deny

#

# hosts.allow   This file contains access rules which are used to

#               allow or deny connections to network services that

#               either use the tcp_wrappers library or that have been

#               started through a tcp_wrappers-enabled xinetd.

#

#               See 'man 5 hosts_options' and 'man 5 hosts_access'

#               for information on rule syntax.

#               See 'man tcpd' for information on tcp_wrappers

#

sshd:210.192.100.

注意:ip后面不能缺少句点

 

 

vi /etc/sysconfig/iptables

 

 

相关文章:

  • 2018-04-10
  • 2021-08-21
  • 2021-11-05
  • 2021-10-12
  • 2021-05-25
  • 2022-12-23
  • 2021-11-22
猜你喜欢
  • 2022-12-23
  • 2021-08-20
  • 2021-06-05
  • 2022-12-23
  • 2022-01-02
  • 2021-10-01
  • 2022-12-23
相关资源
相似解决方案