PDA

View Full Version : Hosts.rules file


Nendo
10-21-2005, 05:01 PM
Hello
Im have list of ip addresses:
for example
193.151.244.0/22
193.151.252.0/22
193.16.106.0/24
193.164.232.128/27
193.17.170.0/24
193.17.52.0/24
...etc

i need access only from allowed (this list of ip) addresses (other ip must be denied), what im need add to host.rules file? :cool:

Thanks, sorry for my english :(

_panic_
10-21-2005, 10:08 PM
this actually came up earlier today, in this thread (http://www.inicom.net/forum/showthread.php?p=125522).

that thread links to this one (http://www.inicom.net/forum/showthread.php?t=13974) (in german). my german isn't what it used to be, but hopefully you can get the gist of what you are trying to accomplish.

EwarWoo
10-22-2005, 12:39 AM
POLICY DENY
ACCEPT I [ip address] USER [logins per ip]

That'll do it. Default denies entry. Add an allow line for all allowed IPs.

Nendo
10-22-2005, 02:22 AM
Thanks :)