This topic created in 3907 days ago, the information mentioned may be changed or developed.
2 replies • 2016-02-26 18:34:26 +08:00
 |
|
你指的访问是那种协议? 如果只是普通的 SSH 登陆,做限制需要你的访问出口有个固定的公网 IP 。
/etc/hosts.allow /etc/hosts.deny
编辑这两个文件,先 deny_all 然后再 allow 的方式建立白名单
|
 |
|
@ gai187 我是指访问 ip 比如说我发现有一个美国的服务器被用来做爬虫 我想用防火墙 屏蔽 美国的 ip 访问我的服务器 ip
|