Paprastas ir greitas būdas apriboti prisijungimus prie SSH ir FTP per hosts.allow:
vi /etc/hosts.allow
# Leidžiami IP adresai: sshd : IP_ADRESAS : allow sshd : IP_ADRESAS2 : allow sshd : IP_ADRESAS3 : allow # Draudžiami visi kiti IP: sshd : ALL : deny # Leidžiami IP adresai: in.proftpd : IP_ADRESAS : allow in.proftpd : IP_ADRESAS2 : allow in.proftpd : IP_ADRESAS3 : allow # Draudžiami visi kiti IP: in.proftpd : ALL : deny