全球主机交流论坛
标题:
怎么设置网站只几个IP访问?
[打印本页]
作者:
icefog
时间:
2018-1-13 14:40
提示:
作者被禁止或删除 内容自动屏蔽
作者:
the2ndface
时间:
2018-1-13 14:43
本帖最后由 the2ndface 于 2018-1-13 14:45 编辑
iptables -A INPUT -p tcp -s xx.xx.xx.xx --dport 80 -j ACCEPT
作者:
foxconndmd
时间:
2018-1-13 14:45
限制访问整个80端口服务使用iptables,限制访问特定目录使用web 服务器限制。
具体请百度。
作者:
救世主
时间:
2018-1-13 14:46
提示:
作者被禁止或删除 内容自动屏蔽
欢迎光临 全球主机交流论坛 (https://sunk.eu.org/)
Powered by Discuz! X3.4