Portal Home > Knowledgebase > Articles Database > How to Configure CSF Firewall In VPS?
How to Configure CSF Firewall In VPS?
Posted by SarKarRaj, 09-20-2009, 09:12 PM |
Hi,
I have installed Latest CSF firewall 4.77V . I`am find Bit difficult in configuring the CSF Firewall Can anybody please provide best CSF Configuration.
Advance Thank You,
|
Posted by sharmaine1111, 09-20-2009, 10:32 PM |
You have to go here: http://www.configserver.com/
|
Posted by TheServerExperts, 09-21-2009, 01:41 AM |
Try there forum, they have very helpful members
http://forum.configserver.com/
Do you have controlpanel (cPanel/Plesk) installed on the VPS?
And which VPS software? Virtuozzo?
Cheers
|
Posted by adminpaul, 09-21-2009, 01:54 AM |
You can see a "readme" file in your csf installation directory.
|
Posted by SarKarRaj, 09-21-2009, 02:20 AM |
Hi,
I`am having Virtuozzo With Cpanel Installed in the VPS. CSF Firewall Iptables are conflicting with Virtuozzo firewall .
When i restart Virtuozzo Both Firewalls work fine . When i restart CSF Firewall All services are blocked . Even My Main node is not responding Along With SSH Access..
Please I need a perfect Configuration of CSF on Virtuozzo VPS . Can Any help me with these issues
Thank You
|
Posted by k-planethost, 09-21-2009, 03:32 AM |
how can you see this file from shell which is the comand line?
Also when the csf is installed on cpanel does brute protection has to be off?
|
Posted by sharmaine1111, 09-21-2009, 03:56 AM |
the instructions in CSF website does not help: http://forum.configserver.com/showthread.php?t=212 I tried doing that in an OpenVZ VPS and VPS is still blocking all connections. If CSF is disabled server can be accessed. If its enable NO ONE can access the VPS. I don't know what to do also.
I tried to enable CSF in SSH to see where it's stopping:
After that the server no longer works
Last edited by sharmaine1111; 09-21-2009 at 03:59 AM.
|
Posted by inspiron, 09-21-2009, 10:01 AM |
Make sure that the APF + BFD are disabled on the server before starting the installation.
|
Posted by sharmaine1111, 09-21-2009, 10:05 AM |
I know now what this is. Im pretty sure there is something wrong with the vps node (not your vps). You have to contact your host. Usually its iptables modules problem in the vps node.
|
Posted by k-planethost, 09-22-2009, 08:22 AM |
i install csf on the vps sussesfully
for the moment i dont see any issues
first of all how can i adjust the cpanel login fails that the customer can have before the firewall block the ip .
what do i mean say as an example somebody try to login 3 times unsussesfylly and firewall blocks thee ip after.
also the period that the ip will be blocked how many hoyrs
|
Posted by ianeeshps, 09-22-2009, 10:09 PM |
got to csf.config file and change the following values,
#[*]Enable login failure detection of cpanel, webmail and whm connections
LF_CPANEL = "5"
LF_CPANEL_PERM = "1"
|
Posted by k-planethost, 09-24-2009, 04:31 AM |
i had observe since i had installed csf the most of the times the vps is overloaded.
especially the dynamic sites joomla forums
before the server was about 0.70 0.80 load today is about 6-7 load and as a result takes ages for the pages to load.
Does it requires any special adjustments that thing?
|
Posted by MrJosh, 09-24-2009, 06:44 AM |
Have you tried looking at the security level, usually this indicates what you need to do. Are you operating cPanel/WHM?
|
Posted by crazyaboutlinux, 05-01-2010, 07:47 AM |
Firewall Security Level what it should be? Low, Medium or High
Currently it is low.
i am using VPS Virtuozzo
cPanel 11.25.0-R44718
WHM 11.25.0 - X 3.9
CENTOS 5.4 i686 virtuozzo
|
Posted by Extremeseo, 05-01-2010, 10:41 AM |
the higher the level is,more secure your vps would be,so keep it to the highest level
|
Posted by paladinstrike, 05-02-2010, 11:41 PM |
There is no "best" configuration.
What configuration you should use depends on what services you need to provide and what your security needs are. Those are things that only you know.
|
Posted by crazyaboutlinux, 05-03-2010, 01:10 AM |
more suggestions are require
|
Posted by rahuldas14, 05-15-2010, 11:01 AM |
I too am facing a similar issue. In my case there is an issue with ftp. Login works but it fails in retrieving directory. Help.
|
Add to Favourites Print this Article
Also Read