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

How do I connect to my VPS? (SSH)

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

What do you offer support for?

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

Enabling TUN/TAP

You can enable TUN/TAP from the SolusVM control panel. Click Manage > Settings > Enable...

cPanel Disk Quotas (OpenVZ)

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

What is the difference between KVM and OpenVZ?

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

Powered by WHMCompleteSolution