cloudlets.com.au logo
cloudlets
1300 839 448
  • Home
  • Get Started
  • Pricing
  • Environments
    • Wordpress
    • Magento
    • PHP
    • Node.JS
    • JAVA
    • Ruby
    • Python
    • Go
    • Knowledgebase
      Enable Ping / Echo in Iptables
      Posted by Will Kruss on 30 May 2016 06:51 PM

      A linux based VPS need to allow iptables to respond to ping requests. Follow instructions to create an iptables rule.

      If you would like your linux based VPS to respond to ping requests you will need to allow them in iptables. To do this create an iptables rule (never use iptables -F to flush your rules or you will most likely lock yourself out of your SSH session):

      SSH into the server using putty (click here for help on using SSH)

      Once logged in type:

      iptables -I INPUT -p icmp -m icmp --icmp-type echo-request -j ACCEPT
      iptables-save

      You should now be able to ping your server.

      (0 vote(s))
      Helpful
      Not helpful

Help Desk Software by Kayako