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 Usuários acharam útil
Esta resposta lhe foi útil?

Related Articles

Ubuntu Setting Locale Failed

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

How can I connect to my Linux VPS?

You can connect to your Linux VPS via SSH by following these steps:1) download PuTTy...

Enabling PPP

To enable PPP on your OpenVZ VPS: Log into SolusVM and Enable PPP. Reboot your VPS. Log into...

What is the difference between KVM and OpenVZ?

KVM is true virtualization where the VPS operates as its own server, independently of the host...

Do I need a domain name (FQDN) for the hostname?

The hostname is an arbitrary identifier for your VPS. It can be either a Fully Qualified Domain...

Powered by WHMCompleteSolution