By nirmalnath
I have set up a droplet and firewall with specific rule. I have added the icmp rule in firewall for both inbound and outbound traffic. The outbound connections and icmp is working fine but am not able to ping my droplet even if the inbound icmp is allowed to IPv4 and IPv6. I have no trouble in resolving my domain and ssh using the domain name.
I have checked the ufw firewall and flushed ‘Iptable’ rules but still the ping result is unsatisfactory. I need to check the network latency to the droplet.
$ ping 159.65.148.241 PING 159.65.148.241 (159.65.148.241): 56 data bytes Request timeout for icmp_seq 0 Request timeout for icmp_seq 1 Request timeout for icmp_seq 2
Am able to ping the box using the private.
$ ping 10.122.0.2 PING 10.122.0.2 (10.122.0.2) 56(84) bytes of data. 64 bytes from 10.122.0.2: icmp_seq=1 ttl=64 time=3.10 ms 64 bytes from 10.122.0.2: icmp_seq=2 ttl=64 time=1.39 ms 64 bytes from 10.122.0.2: icmp_seq=3 ttl=64 time=0.824 ms
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi there @nirmalnath,
I’ve just tested this with a fresh new Droplet and a fresh new Firewall and it seems to be working as expected, I was able to ping my IP with the ICMP rule in place and if I removed the ICMP rule the ping would stop.
Do you by any chance have a firewall on your Droplet as well like UFW or CSF?
Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.