• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1038
  • Last Modified:

Server unable to ping


we have a server that we can SSH to remoteley over the internet. But the server is unable to ping and domains or ip addresses outside its own network.

The server is running asterisk and that is working fine it can make calls fine. But it will not ping the voip ip server, which it is obviosuly communicating with to make calls!

1 Solution
Seems that this server sits behind a firewall or router which would block ICMP (ping) traffic.

Such a setup is not uncommon.

Are you sure it's not firewall rule in your network to block PING/ICMP?
Did you enable a firewall rule to allow inbound and outbound ICMPv4 or ICMPv6 Echo Requests?
A proven path to a career in data science

At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science  with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.

A quote from "serverfault.com" explaining why it could make sense blocking ICMP:

It's possible, for example, for a malicious piece of software on a compromised system to send messages "back home" via fake echo replies. This could give the remote listening system quite a bit of information that you don't necessarily want it to have, one little piece at a time. Anything the malware has access to could go right out the pipe.

Check, if you have 2 network adapters, if the gateway's values as set up correctly.
The ping could arrive to the server, but it replies throught the other adapter
andybrookeAuthor Commented:
service iptables stop is enabled on boot and its off. I checked the router draytek 2830 and all looks ok.... I can ping the router externally
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now