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

Do you have internal IPs?

We do not currently have internal IPs. However, we can provide extra bandwidth for VPS to VPS...

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

What happens if I run out of bandwidth?

If your VPS uses all of its bandwidth for the month, it will be automatically suspended. You may...

What do you offer support for?

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

How do I connect to my VPS? (SSH)

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

Powered by WHMCompleteSolution