看板FreeBSD
标 题Re: [请问]怎样限制ip进入我ㄉ主机?
发信站Web-based News Server (Tue Aug 10 12:17:50 2004)
转信站ptt!ctu-reader!ctu-peer!Spring!news.nctu!newsgate.cuhk.edu.hk!news.net
(
[email protected])
BalaBBS
>※ 引述《
[email protected] (云淡风清)》之铭言:
> > ※ 引述《[email protected] (Hold dar la~)》之铭言:
> > > 就是特定ip才能连进来!
> > > 要怎样设定?
> > /etc/hosts.allow或许就是你要的:p
> 那应该怎麽改呢? @@a
> -
用防火墙阻挡可能比较好 ,
因为 /etc/hosts.allow /etc/hosts.deny
并不一定适用於所有服务 !
---
Posted via news://freenews.netfront.net
Complaints to
[email protected]