|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#1 |
|
Senior Member
Iscritto dal: Jul 2008
Messaggi: 431
|
DSL e Firewall
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. Ultima modifica di mortimer7 : 19-05-2014 alle 20:59. |
|
|
|
|
|
#2 |
|
Senior Member
Iscritto dal: Apr 2004
Messaggi: 9516
|
|
|
|
|
|
|
#3 |
|
Senior Member
Iscritto dal: Jul 2008
Messaggi: 431
|
questo è li mio output di iptables:
Codice:
$ 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
|
|
|
|
|
|
#4 |
|
Senior Member
Iscritto dal: Apr 2004
Messaggi: 9516
|
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 |
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 09:30.



















