Powered By Blogger

Search This Blog

04 October, 2010

install configure server firewall on your cPanel Server

Installation
============
Installation is quite straightforward:

rm -fv csf.tgz
wget http://www.configserver.com/free/csf.tgz
tar -xzf csf.tgz
cd csf
sh install.sh

Next, test whether you have the required iptables modules:

perl /etc/csf/csftest.pl

Don't worry if you cannot run all the features, so long as the script doesn't
report any FATAL errors

You should not run any other iptables firewall configuration script. For
example, if you previously used APF+BFD you can remove the combination (which
you will need to do if you have them installed otherwise they will conflict
horribly):

sh /etc/csf/remove_apf_bfd.sh

That's it. You can then configure csf and lfd by edit the files
directly in /etc/csf/*, or on cPanel servers use the WHM UI

csf installation for cPanel is preconfigured to work on a cPanel server with all
the standard cPanel ports open.

csf installation for DirectAdmin is preconfigured to work on a DirectAdmin
server with all the standard DirectAdmin ports open.

csf auto-configures your SSH port on installation where it's running on a non-
standard port.

csf auto-whitelists your connected IP address where possible on installation.

You should ensure that kernel logging daemon (klogd) is enabled. Typically, VPS
servers have this disabled and you should check /etc/init.d/syslog and make
sure that any klogd lines are not commented out. If you change the file,
remember to restart syslog.

See the readme.txt file for more information.

Webmin Module Installation/Upgrade
==================================

To install or upgrade the csf webmin module:

Install csf as above
Install the csf webmin module in:
Webmin > Webmin Configuration > Webmin Modules >
From local file > /etc/csf/csfwebmin.tgz > Install Module


Uninstallation
==============
Removing csf and lfd is even more simple:

On cPanel servers:

cd /etc/csf
sh uninstall.sh

On DirectAdmin servers:

cd /etc/csf
sh uninstall.directadmin.sh

On generic linux servers:

cd /etc/csf
sh uninstall.generic.sh

18 comments:

  1. Your website provided us with valuable information to work on. You have done an impressive job and our whole community will be grateful to you. web design agency

    ReplyDelete
  2. Most appropriate the human race messages work to show your and present exclusive chance with special couple. Beginer appear system in advance of raucous people will most likely always be aware most of the golden value off presentation, which is a person’s truck. best man jokes top web design companies

    ReplyDelete
  3. This is a excellent blog, would you be involved in doing an interview about just how you designed it? If so e-mail me! development companies

    ReplyDelete
  4. Hmm it appears like your website ate my first comment (it was super long) so I guess I'll just sum it up what I had written and say, I'm thoroughly enjoying your blog. I as well am an aspiring blog blogger but I'm still new to everything. Do you have any points for novice blog writers? I'd certainly appreciate it. visual identity

    ReplyDelete
  5. There are certainly a couple more details to take into consideration, but thanks for sharing this info. branding

    ReplyDelete
  6. many thanks for telling!. “Truth is generally the best vindication against slander.” by Abraham Lincoln.. phone mockup

    ReplyDelete
  7. This comment has been removed by the author.

    ReplyDelete
  8. Wow this hit it to the spot we will bookmark on Bebo and also Hub pages thanks love it And also my prayers to the people at atomic plant we hope you are OK along with safer too !!! Kudos Financial Advisers macbook photoshop

    ReplyDelete
  9. I believe you have noted some very interesting details , appreciate it for the post. mockup phone

    ReplyDelete
  10. اما ممکن است این سوال به ذهنتان بیاید که یک خرید هاست خرید هاست اشتراکی ارزان ارزان چه هاستی است و چه ویژگی هایی باید دارا باشد در ادامه مقاله قصد داریم ویژگی های هاست ارزان را معرفی کنیم و در آخر به معرفی بهترین هاست ایران از میان هاستینگ های برتر کشور بپردازیم .اگر قصد راه اندازی یک سایت باکیفیت و پر بازدید را دارید حتما باید نکته هایی را رعایت نمایید قسمت سخت افزار از انتخاب ها تشکیل می شود و مناسب برای سایت هست که به سرور استفاده شده با سی پی یو ، رم و استفاده از دیگر سخت افزارها با ویژگی های عنوان شده مربوط می شود هاست پرسرعت برای وردپرس .نرم افراز به دو بخش جدا تقسیم می شود که بخشی از آن به هاست و سرور مربوط هست و بخش دیگر به سیستم مدیریت محتوا سایت شما بستگی دارد .و در نهایت بخش محتوا ارتباط با کار سئو و بهینه سازی سایت برای موتورهای جستجو و هم چنین بازاریابی خرید هاست لینوکسی ارزان از طریق محتوا است .در حقیقت هاست یک بستر الکترونیکی هست که محتویات و مطالب سایت شما داخل آن ذخیره خواهد شد .و این محتویات همان فایل و دیتابیس شما است که از طریق اتصال اینترنتی کاربران به سرور در دسترس خواهد بود .لازم است که هاست و دامنه به یک دیگر متصل باشند که این فرآیند از طریق Name server صورت می گیرد .بدین ترتیب اولین کاری که بعد از خرید هاست از شرکت های معتبر هاستینگ باید انجام دهید این هست که نیم سرور های هاست را بر روی دامنه خودتان ست کنید تا نهایتا بعد از گذشت ۷۲ ساعت هاست و دامنه به هم دیگر متصل شوند

    ReplyDelete
  11. You are my inhalation , I own few blogs and rarely run out from to post : (. webflow designers

    ReplyDelete
  12. Taylor Lautner… By the way you might want to check out this cool site I found…… webflow design agency

    ReplyDelete
  13. Perfect work you have done, this site is really cool with good information. webflow developers

    ReplyDelete
  14. I real delighted to find this site on bing, just what I was looking for : D also bookmarked . web developer company

    ReplyDelete
  15. I think this web site has very superb composed subject material articles . web development companies

    ReplyDelete
  16. Normally I don't learn post on blogs, however I would like to say that this write-up very forced me to take a look at and do so! Your writing style has been surprised me. Thank you, quite great article. apple watch png

    ReplyDelete
  17. I have wanted to write about something like this on my webpage and you gave me an idea. Cheers. interface designer

    ReplyDelete
  18. Great post I would like to thank you for the efforts you have made in writing this interesting and knowledgeable article. models prefer lipsticks

    ReplyDelete