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 کاربر این را مفید یافتند
آیا این پاسخ به شما کمک کرد؟

Related Articles

cPanel Disk Quotas (OpenVZ)

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

Where can I find good Linux Tutorials?

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

What is VSwap?

Please see the OpenVZ documentation: http://wiki.openvz.org/VSwap 

How do I use my /64 IPv6?

Each VPS comes with a /64 subnet for IPv6 with one IPv6 address on the VPS by default. Your IPv6...

How do I connect to my VPS? (SSH)

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

Powered by WHMCompleteSolution