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

What do you offer support for?

You may contact LunarVPS for support regarding the following issues: Network access. Please...

What is the difference between KVM and OpenVZ?

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

How can I tell which node my VPS is on?

To figure out what node your VPS is hosted on, log into the SolusVM control panel and click the...

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...

Powered by WHMCompleteSolution