Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So when I open port 22 and 80 in the default security group I'm not able to ping the domain. I've opened TCP, UDP, and ICMP to all and now it works but of course I need to find another solution. What should I be opening?

share|improve this question
up vote 3 down vote accepted

Ping uses the ICMP protocol so you need to provide a custom ICMP rule in your security group to allow it through.

On the security group inbound tab select Custom ICMP Rule then for type select Echo Request. If you want to restrict this to a particular IP address/network then complete the source field. Click Add Rule then Apply Rule Changes.

These are the security group rules I have on a centos instance

  • ICMP
    • ALL sg-08e86d61 (default)
    • Echo Request
  • TCP
    • 0 - 65535 sg-08e86d61 (default)
    • 22 (SSH)
    • 80 (HTTP)
  • UDP
    • 0 - 65535 sg-08e86d61 (default)
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.