Can you send the output of 'iptables -t filter -L -n -v ' to this mailing list?
2007. június 7. 15.51 dátummal Joan Hérisson ezt írta: > Hello, > > Config: > - Debian 2.4.18 > - iptables with many rules > > Problems: > - I have installed a tomcat 5.5 server. The server is > unreachable > (connection failed from locahost or another host on my local network). > > Tries: > - I have to open port 8080. I have this rule in > /etc/init.d.firewal- > start : > "iptables -A tcp_packets -p TCP -i eth0 -s 0/0 > --dport 80 > -j allowed" > where eth0 is the way toward the internet. > So I added this rule : > "iptables -A tcp_packets -p TCP -i eth1 -s 0/0 > --dport > 8080 -j allowed" > where eth1 is the way toward my local network > > Results: > - The server is still unreachable. > - When I do nmap localhost, I have port 80 open but not 8080. > - When I comment out the line for port 80 in firewall-start and > I > restart firewall, I do nmap localhost, port 80 is still open. > > I do not find the link between iptables rules and nmap. > Some ideas ? > > Thank you, > Joan > ps: sorry for my english. > > > _________________ > > Post-doc GENNETEC > Programme d'Épigénomique, Genopole® > Tour Évry2, 10è étage > 523 Terrasses de l'Agora > 91034 ÉVRY cedex > > Tél : +33 (0)1 69 47 44 34 > Fax : +33 (0)1 69 47 44 37 > Web : http://www.epigenomique.genopole.fr/opencms/opencms/ > epigenomique/en/perso/joe/ > ________________________________________________________________________