firewall nuova configurazione
Inviato: mer 16 nov 2005, 11:08
Leggendo qui sul forum ho fatto delle modifiche al mio firewall le modifiche sono queste:
ho tolto lo script generato da guarddog in /etc/rc.firewall e in /etc/rc.d ho creato il file rc.firewall che ho reso eseguibile da propietà/permessi poi ho riavviato quello che mi chiedo è come posso sapere se iptables legge la mia configurazione oppure no?
Ho letto per sapere come è configurato iptables devo dare iptables -L questo è il risultato:
root@leon001:/home/supergnome# iptables -L
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all -- localhost anywhere
ACCEPT udp -- anywhere anywhere udp spt:domain
ACCEPT tcp -- anywhere anywhere tcp spt:domain
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere tcp dpt:4662
ACCEPT udp -- anywhere anywhere udp dpt:4665
ACCEPT udp -- anywhere anywhere udp dpt:rfa
ACCEPT tcp -- anywhere anywhere tcp dpt:6881
ACCEPT tcp -- anywhere anywhere tcp dpt:6882
ACCEPT tcp -- anywhere anywhere tcp dpt:6883
ACCEPT tcp -- anywhere anywhere tcp dpt:6884
ACCEPT tcp -- anywhere anywhere tcp dpt:6885
ACCEPT tcp -- anywhere anywhere tcp dpt:6886
ACCEPT tcp -- anywhere anywhere tcp dpt:6887
ACCEPT tcp -- anywhere anywhere tcp dpt:6888
ACCEPT tcp -- anywhere anywhere tcp dpt:6889
Chain FORWARD (policy DROP)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Nel post nel quale si parlava di iptables -L c' era anche una spiegazione ma non ci ho capito niente se qualche anima buona in vena di samaritanismo mi potesse aiutare mi salverebbe dalla pazzia. Ciao.
ho tolto lo script generato da guarddog in /etc/rc.firewall e in /etc/rc.d ho creato il file rc.firewall che ho reso eseguibile da propietà/permessi poi ho riavviato quello che mi chiedo è come posso sapere se iptables legge la mia configurazione oppure no?
Ho letto per sapere come è configurato iptables devo dare iptables -L questo è il risultato:
root@leon001:/home/supergnome# iptables -L
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all -- localhost anywhere
ACCEPT udp -- anywhere anywhere udp spt:domain
ACCEPT tcp -- anywhere anywhere tcp spt:domain
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere tcp dpt:4662
ACCEPT udp -- anywhere anywhere udp dpt:4665
ACCEPT udp -- anywhere anywhere udp dpt:rfa
ACCEPT tcp -- anywhere anywhere tcp dpt:6881
ACCEPT tcp -- anywhere anywhere tcp dpt:6882
ACCEPT tcp -- anywhere anywhere tcp dpt:6883
ACCEPT tcp -- anywhere anywhere tcp dpt:6884
ACCEPT tcp -- anywhere anywhere tcp dpt:6885
ACCEPT tcp -- anywhere anywhere tcp dpt:6886
ACCEPT tcp -- anywhere anywhere tcp dpt:6887
ACCEPT tcp -- anywhere anywhere tcp dpt:6888
ACCEPT tcp -- anywhere anywhere tcp dpt:6889
Chain FORWARD (policy DROP)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Nel post nel quale si parlava di iptables -L c' era anche una spiegazione ma non ci ho capito niente se qualche anima buona in vena di samaritanismo mi potesse aiutare mi salverebbe dalla pazzia. Ciao.