برای جلوگیری از ه/ک سرور و مشکلات بوجود آمده از نفوذ حتما برای vps خود دیوار آتش csf رو نصب نمایید .
دستورات نصب csf
1- # yum install perl-libwww-perl
2- # cd /tmp #
wget http://www.configserver.com/free/csf.tgz
3- # sh /tmp/csf/remove_apf_bfd.sh
4- # cd /tmp #
tar -xzf csf.tgz
# cd csf
# sh install.sh
تنظیمات
# Allow incoming TCP ports TCP_IN = "20,21,22,25,53,80,110,143,443,465,587,993,995" # Allow outgoing TCP ports TCP_OUT = "20,21,22,25,53,80,110,113,443" # Allow incoming UDP ports UDP_IN = "20,21,53" # Allow outgoing UDP ports # To allow outgoing traceroute add 33434:33523 to this list UDP_OUT = "20,21,53,113,123" گزینه TESTING = "0" حتما باید 0 باشد . شروع کار csf
# chkconfig --level 235 csf on # service csf restart