1 min read

Linuxcast #18 - Firewall e Antivirus su Linux


Se volete che l'interfaccia del Firewall sia attiva per l'utente che utilizzate dovete inserire il programma all'avvio (Preferenze > Sessioni) ed abilitare l'utente ad usare il comando appropriato con sudo.

 

$ sudo visudo

Nel caso di Firestarter aggiungete:
%admin ALL=NOPASSWD:/usr/sbin/firestarter

Nel caso di Gufw aggiungete:
%admin ALL=NOPASSWD:/usr/share/gufw/gufw.py

Esempio di regole scritte in iptables da Gufw

$ sudo iptables -L

...
Chain ufw-user-forward (1 references)
target     prot opt source               destination        
RETURN     all  --  anywhere             anywhere           

Chain ufw-user-input (1 references)
target     prot opt source               destination        
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:6666
ACCEPT     udp  --  anywhere             anywhere            udp dpt:6661
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:51413
ACCEPT     all  --  192.168.1.9          anywhere
....

Port scanning online

Per sicurezza potete controllare che il firewall sia configurato correttamente andando sul servizio di GRC e cliccando su "Proceed".