PDA

View Full Version : DSL e Firewall


mortimer7
19-05-2014, 20:55
Salve,
quando avvio (tramite il comando "start_firewall") il firewall di DSL4.4.10, appare un terminale in cui mi si dice che è tutto OK:

"Succesfully secured the following addresses: 192.168.0.4"

poi però la finestra si chiude subito, e ho notato che tra i processi attivi (comando ps) non c'è il firewall.
quindi non riesco a capire se è attivo o no. c'è qualche modo per verificarlo?

il nome del firewall è "rc.firewall for iptables" 2.0

Grazie.

sacarde
19-05-2014, 21:51
http://wiki.ubuntu-it.org/Sicurezza/Iptables#Mostrare_la_configurazione_attuale

mortimer7
19-05-2014, 22:24
questo è li mio output di iptables:


$ iptables -v -L
Chain INPUT (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
1559 1742K ACCEPT all -- any any anywhere anywhere state RELATED,ESTABLISHED
0 0 ACCEPT all -- lo any anywhere anywhere state NEW
0 0 TRUSTED all -- any any anywhere anywhere state NEW

Chain FORWARD (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination

Chain OUTPUT (policy ACCEPT 1128 packets, 194K bytes)
pkts bytes target prot opt in out source destination
0 0 DROP icmp -- any any anywhere anywhere state INVALID

Chain TRUSTED (1 references)
pkts bytes target prot opt in out source destination
0 0 ACCEPT icmp -- any any anywhere 192.168.0.4 icmp echo-request
0 0 DROP icmp -- any any anywhere anywhere
0 0 REJECT all -- any any anywhere anywhere reject-with icmp-port-unreachable


è sicuro? o mi conviene mettere mano come indicato nella guida?

sacarde
20-05-2014, 09:22
se vedi regole impostate vuol dire che lo script ha funzionato

altrimenti vedresti tutto: ACCEPT




p.s.
per il significato delle regole rimando a qualcuno piu esperto in iptables