Deci să începem.
- Pasul 1 > Deschidem Firewall-ul prin urmatoarea comandă rc.conf se găseste în urmatorul folder:
/etc/.
- Pasul 2 > Acuma vom configura Firewall-ul pentru asta trebuie să scriem urmatoarea comandă /etc/pf.conf/ şi introducem următoarele linii.
Perfect Am blocat toate intrările.
- Pasul 3 > Acum o să facem o lista iar pentru asta o să ii dăm următorul permis.
- Pasul 4 > Acum o să facem scriptul ''Blocaj'' şi o să ii dăm permisiunile chmod 751.
- Pasul 5 > Acuma mergem în /etc/syslog.conf şi îi adăugăm urmatoarea linie.
Acest script va executa blocajul pentru IP-uri externe. Sper ca va fost de folos.