PDA

View Full Version : restrict access to anonymous from certain IPs


iMiKED
06-11-2007, 03:15 PM
Hi!
Can anyone help me to do this: restrict anonymous acces from certain IPs, only authorised access is allowed.

I mean this IPs have *PRIVATE* access to my ftp and I dont want let them to login as *ANONYMOUS* users, ONLY as *PRIVATE* users.

Changing ident in anonymous user - so many idents....

So, please help me!

inside
07-22-2007, 06:30 PM
Look the files " Host.Rules " ...

Example :

## rules
##
## rules determine which ip addresses can connect to your server.
##
## rules can be specified by ip address ('I') or hostname ('H').
## both the ip address and hostname can be partial addresses, for
## instance the class C block of '192.168.1.' or any '.com' address.
##
## format:
## ACCEPT I|H IP|HOSTNAME CLASS_NAME CONNECTIONS_PER_IP
## DENY I|H IP|HOSTNAME LOG_STRING
##
ACCEPT I 127.0.0. ADMIN -1
ACCEPT I 192.168. ADMIN -1

Goodbye