New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Iptables rules causes site to be really slow
gowtham101
Member
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
Comments
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...
/flush your ip tables. and get CSF its better
@Randy what are you talking about? If not mistaking, csf USE iptables.
,sorry i meant flush and get CSF to manage CSF is easy to manage the iptables
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.
@ztec ping and traceroute. Long distance relationship tends to break most of the time
I live in The Netherlands and the server is in France, pretty good ping. 18ms.
Maybe I'm just spoiled.