Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with OpenID
Advertise on LowEndTalk.com

In this Discussion

Iptables rules causes site to be really slow

Iptables rules causes site to be really slow

gowtham101gowtham101 Member
edited August 2012 in General

This is my iptable rules, this causes my site to crawl especially when I log into wp :'(

*filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] :fail2ban-ssh - [0:0] -A INPUT -p tcp -m tcp --dport 80 -j ACCEPT -A INPUT -p tcp -m tcp --dport 2012 -j ACCEPT -A INPUT -p tcp -m tcp --dport 1194 -j ACCEPT -A INPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT -A INPUT -i lo -j ACCEPT -A INPUT -j DROP -A FORWARD -j DROP -A OUTPUT -j ACCEPT COMMIT

Use BuyVM, GEEK <3

Comments

  • JacobJacob Member
    edited August 2012

    Use CSF and then within that conf file you can open all the ports you require, I'm not sure about these rules, but 10 lines of IPTables rules should not affect your performance.

    More likely it is WordPress being a hog, or something that is holding everything else behind.

  • I think you are dropping dns udp traffic...

    IperWeb & Prometeus, Hosting Provider since 1997. iwStack cloud infrastructure
  • RandyRandy Disabled
    edited August 2012

    /flush your ip tables. and get CSF its better

  • TazTaz Disabled
    edited August 2012

    @Randy what are you talking about? If not mistaking, csf USE iptables.

    Time is good and also bad. Life is short and that is sad. Dont worry be happy thats my style. No matter what happens i won't lose my smile!

  • RandyRandy Disabled
    edited August 2012

    ,sorry i meant flush and get CSF to manage CSF is easy to manage the iptables

  • ztecztec Member

    Please allow me to go a little off-topic. But how can I speed up my wordpress admin area? I got a dedicated server which is pretty OK, Q6600 from kimsufi. Admin area speed is good but it's not SUPER fast like I had with my previous servers.

  • TazTaz Disabled

    @ztec ping and traceroute. Long distance relationship tends to break most of the time ;)

    Time is good and also bad. Life is short and that is sad. Dont worry be happy thats my style. No matter what happens i won't lose my smile!

  • ztecztec Member
    edited August 2012

    I live in The Netherlands and the server is in France, pretty good ping. 18ms.

    Maybe I'm just spoiled.

Sign In or Register to comment.