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 ?