I'm having trouble with an Apache web server with CentOS that I have inherited. I am able to ssh into it just fine but I'm unable to make any sort of http request. Using tcptraceroute shows that I am able to successfully ping port 80 on the server and that it is open. However, when making an actual HTTP request, it just times out and says the server couldn't be reached. Using iptables, I get the following:
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
266 39300 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 /* 000 INPUT accept all icmp */
125 8480 ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0 /* 001 INPUT accept all on lo interface */
194K 55M ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 /* 002 INPUT accept related established */ state RELATED,ESTABLISHED
8 480 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 multiport ports 22 /* 003 INPUT accept ssh */
47 2804 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 multiport dports 443 /* 0100-INPUT ACCEPT 443 */
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 multiport dports 80 /* 0100-INPUT ACCEPT 80 */
28 6797 REJECT all -- * * 0.0.0.0/0 0.0.0.0/0 /* 999 INPUT reject all */ reject-with icmp-port-unreachable
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 REJECT all -- * * 0.0.0.0/0 0.0.0.0/0 /* 999 FORWARD reject all */ reject-with icmp-port-unreachable
Chain OUTPUT (policy ACCEPT 946 packets, 123K bytes)
pkts bytes target prot opt in out source destination
Any idea of what I could be doing wrong?
Aucun commentaire:
Enregistrer un commentaire