How do I clear my iptables rules?

If you find yourself unable to reach your VPS, but able to reach other parts of our network, you can disable iptables by running the following commands over the Serial Console or VNC viewer:

iptables -F
iptables -X
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT

This is typically the solution if you receive the "Operation not permitted" error when you try to ping outbound from your VPS. 
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Where can I find good Linux Tutorials?

Check out the following sites: http://www.cyberciti.biz/...

How do I connect to my VPS? (SSH)

We recommend the program PuTTY for SSH. You can download it...

Does bandwidth used in between VPSs count?

Yes, however, we can provide extra bandwidth for VPS to VPS traffic in a single location for...

Ubuntu Setting Locale Failed

If you are having trouble setting the locale in Ubuntu 12, please see this thread:...

cPanel Disk Quotas (OpenVZ)

In order to use disk quotas for cPanel on OpenVZ, you need to have second level quotas enabled...

Powered by WHMCompleteSolution