[CentOS-pt-br] Problema CentOS e apache - RESOLVIDO
Erik Silva
erikyami em gmail.com
Domingo Setembro 8 21:24:19 UTC 2013
Em 08-09-2013 18:22, Edson - Lista escreveu:
> Em 08/09/2013 18:09, Erik Silva escreveu:
>> Em 08-09-2013 18:05, Edson - Lista escreveu:
>>> Em 08/09/2013 17:44, Erik Silva escreveu:
>>>
>>> segue abaixo:
>>>> iptables -nvL
>>> Chain OUTPUT (policy ACCEPT 159 packets, 30539 bytes)
>>> pkts bytes target prot opt in out source destination
>>> /etc/sysconfig$ iptables -nvL
>>> Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
>>> pkts bytes target prot opt in out source destination
>>> 141 15932 ACCEPT all -- * * 0.0.0.0/0
>>> 0.0.0.0/0 state RELATED,ESTABLISHED
>>> 0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0
>>> 0 0 ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0
>>> 4 204 ACCEPT tcp -- * * 0.0.0.0/0
>>> 0.0.0.0/0 state NEW tcp dpt:22
>>> 165 13353 REJECT all -- * * 0.0.0.0/0
>>> 0.0.0.0/0 reject-with icmp-host-prohibited
>>> 0 0 ACCEPT udp -- * * 0.0.0.0/0
>>> 0.0.0.0/0 state NEW udp dpt:80
>>> 0 0 ACCEPT tcp -- * * 0.0.0.0/0
>>> 0.0.0.0/0 state NEW tcp dpt:80
>>>
>>> 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 reject-with icmp-host-prohibited
>>>
>>> Chain OUTPUT (policy ACCEPT 178 packets, 33167 bytes)
>>> pkts bytes target prot opt in out source destination
>>>
>>> _______________________________________________
>>> CentOS-pt-br mailing list
>>> CentOS-pt-br em centos.org
>>> http://lists.centos.org/mailman/listinfo/centos-pt-br
>> Testa com estes comandos:
>> iptables -I INPUT -p tcp --dport 80 -j ACCEPT
>> iptables -I OUTPUT -p tcp --sport 80 -j ACCEPT
>>
>> _______________________________________________
>> CentOS-pt-br mailing list
>> CentOS-pt-br em centos.org
>> http://lists.centos.org/mailman/listinfo/centos-pt-br
> Olá Erik,
>
> Agora deu certo
> _______________________________________________
> CentOS-pt-br mailing list
> CentOS-pt-br em centos.org
> http://lists.centos.org/mailman/listinfo/centos-pt-br
Isto aí Edson, agora é só salvar esta configuração para que tudo
funcione quando reiniciar o servidor.
Até mais!!
Mais detalhes sobre a lista de discussão CentOS-pt-br