<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.3.2">
</HEAD>
<BODY>
Ho trovato il problema:<BR>
<BR>
Ieri sostenevo che il firewall fosse disabilitato, in realtà ho scoperto di avere delle regole che mi bloccano tutto!<BR>
<BR>
<BR>
<ADDRESS>
<FONT SIZE="2">**************************************************</FONT><BR>
<I><FONT COLOR="#00ff00"><FONT SIZE="2">[root@magic init.d]# iptables -L</FONT></FONT></I><BR>
<I><FONT SIZE="2">Chain INPUT (policy ACCEPT)</FONT></I><BR>
<I><FONT SIZE="2">target prot opt source destination</FONT></I><BR>
<I><FONT SIZE="2">RH-Firewall-1-INPUT all -- anywhere anywhere</FONT></I><BR>
<BR>
<I><FONT SIZE="2">Chain FORWARD (policy ACCEPT)</FONT></I><BR>
<I><FONT SIZE="2">target prot opt source destination</FONT></I><BR>
<I><FONT SIZE="2">RH-Firewall-1-INPUT all -- anywhere anywhere</FONT></I><BR>
<BR>
<I><FONT SIZE="2">Chain OUTPUT (policy ACCEPT)</FONT></I><BR>
<I><FONT SIZE="2">target prot opt source destination</FONT></I><BR>
<BR>
<I><FONT SIZE="2">Chain RH-Firewall-1-INPUT (2 references)</FONT></I><BR>
<I><FONT SIZE="2">target prot opt source destination</FONT></I><BR>
<I><FONT SIZE="2">ACCEPT all -- anywhere anywhere</FONT></I><BR>
<I><FONT SIZE="2">ACCEPT icmp -- anywhere anywhere icmp any</FONT></I><BR>
<I><FONT SIZE="2">ACCEPT ipv6-crypt-- anywhere anywhere</FONT></I><BR>
<I><FONT SIZE="2">ACCEPT ipv6-auth-- anywhere anywhere</FONT></I><BR>
<I><FONT SIZE="2">ACCEPT udp -- anywhere 224.0.0.251 udp dpt:5353</FONT></I><BR>
<I><FONT SIZE="2">ACCEPT udp -- anywhere anywhere udp dpt:ipp</FONT></I><BR>
<I><FONT SIZE="2">ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED</FONT></I><BR>
<I><FONT SIZE="2">ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh</FONT></I><BR>
<I><FONT SIZE="2">ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ftp</FONT></I><BR>
<I><FONT SIZE="2">REJECT all -- anywhere anywhere reject-with icmp-host-prohibited</FONT></I><BR>
<BR>
<I><FONT COLOR="#00ff00"><FONT SIZE="2">[root@magic init.d]# iptables -F</FONT></FONT></I><BR>
<BR>
<I><FONT COLOR="#00ff00"><FONT SIZE="2">[root@magic init.d]# iptables -L</FONT></FONT></I><BR>
<I><FONT SIZE="2">Chain INPUT (policy ACCEPT)</FONT></I><BR>
<I><FONT SIZE="2">target prot opt source destination</FONT></I><BR>
<BR>
<I><FONT SIZE="2">Chain FORWARD (policy ACCEPT)</FONT></I><BR>
<I><FONT SIZE="2">target prot opt source destination</FONT></I><BR>
<BR>
<I><FONT SIZE="2">Chain OUTPUT (policy ACCEPT)</FONT></I><BR>
<I><FONT SIZE="2">target prot opt source destination</FONT></I><BR>
<BR>
<I><FONT SIZE="2">Chain RH-Firewall-1-INPUT (0 references)</FONT></I><BR>
<I><FONT SIZE="2">target prot opt source destination</FONT></I>
</ADDRESS>
*************************************************************<BR>
<BR>
Vi ringrazio, ma vi chiedo un'ultima cosa.. <BR>
come faccio a dire a iptables di lasciarmi la porta 80 aperta (oltre alla ftp e alla ssh)?<BR>
Dato che questa macchina al momento viene riavviata ogni giorno non vorrei perdermi le impostazioni con le porte aperte!<BR>
<BR>
Ciao,<BR>
per chi viene ci vediamo questa sera<BR>
<BR>
<HR NOSHADE>
<BR>
<BR>
</BODY>
</HTML>