{"id":11976,"date":"2017-02-28T10:47:05","date_gmt":"2017-02-28T08:47:05","guid":{"rendered":"https:\/\/blog.natro.com\/?p=11976"},"modified":"2019-09-10T10:19:17","modified_gmt":"2019-09-10T07:19:17","slug":"csf-plugin-config-server-firewall-kurulumu","status":"publish","type":"post","link":"https:\/\/www.natro.com\/blog\/csf-plugin-config-server-firewall-kurulumu\/","title":{"rendered":"CSF Plugin (Config Server Firewall) Kurulumu"},"content":{"rendered":"<p><span style=\"font-size: 16px;\">Bu yaz\u0131m\u0131zda CSF plugin\u00a0(Config Server Firewall) kurulumunu anlataca\u011f\u0131z.<\/span><\/p>\n<p><strong><span style=\"font-size: 16px;\">CSF Nedir?<\/span><\/strong><\/p>\n<p><span style=\"font-size: 16px;\">CSF plugin genelde <strong>WHM&cPanel <\/strong>kurulu sunucularda kullan\u0131lan firewall eklentisidir. Bu eklenti dedice (fiziksel) ve VDS (sanal) tabanl\u0131 platformda \u00e7al\u0131\u015fabilmektedir. Genel anlamda iptables i\u00e7eriklerini uyarlayan bu yaz\u0131l\u0131m\u0131 sunucuya kurabilmek i\u00e7in \u00a0SSH \u00fczerinden sunucu eri\u015fimini ger\u00e7ekle\u015ftirmek gerekir.<\/span><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-12000\" title=\"Config Server Firewall\" src=\"https:\/\/www.natro.com\/blog\/wp-content\/uploads\/2017\/02\/Config-Server-Firewall.png\" alt=\"\" width=\"800\" height=\"400\" srcset=\"https:\/\/www.natro.com\/blog\/wp-content\/uploads\/2017\/02\/Config-Server-Firewall.png 800w, https:\/\/www.natro.com\/blog\/wp-content\/uploads\/2017\/02\/Config-Server-Firewall-300x150.png 300w, https:\/\/www.natro.com\/blog\/wp-content\/uploads\/2017\/02\/Config-Server-Firewall-768x384.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<p><span style=\"font-size: 16px;\">\u015eimdi kurulum ad\u0131mlar\u0131na ba\u015flayal\u0131m.<\/span><\/p>\n<p><span style=\"font-size: 16px;\">1 \u2013 Sunucuya SSH \u00fczerinden eri\u015fimi ger\u00e7ekle\u015ftiriyoruz. \u00d6ncelikle wget komutuyla kurulum dosyalar\u0131n\u0131 sunucuya indirmemiz gerekmektedir.<\/span><\/p>\n<p><span style=\"font-size: 16px;\"><em>Tar -xzf komutu indirdi\u011fimiz dosyay\u0131 s\u0131k\u0131\u015ft\u0131r\u0131lm\u0131\u015f halinden d\u0131\u015far\u0131ya \u00e7\u0131kart\u0131r.<\/em><\/span><\/p>\n<p><span style=\"font-size: 16px;\"><em>Cd olu\u015fan yeni dizine eri\u015fimi sa\u011flar.<\/em><\/span><\/p>\n<p><span style=\"font-size: 16px;\"><em>SH install.sh ise kurulum i\u015flemlerini ba\u015flat\u0131r.<\/em><\/span><\/p>\n<p><span style=\"font-size: 16px;\"><strong>rm -fv csf.tgz<br \/>\nwget http:\/\/www.configserver.com\/free\/csf.tgz<br \/>\ntar -xzf csf.tgz<br \/>\ncd csf<br \/>\nsh install.sh<\/strong><\/span><\/p>\n<p><span style=\"font-size: 16px;\">Yukar\u0131da payla\u015ft\u0131\u011f\u0131m komutlar s\u0131ras\u0131yla uygulan\u0131p hata al\u0131nmad\u0131ysa kurulum i\u015flemleri tamamlanm\u0131\u015ft\u0131r. \u015eimdi a\u015fa\u011f\u0131da payla\u015ft\u0131\u011f\u0131m komutlarla CSF yap\u0131s\u0131n\u0131n \u00e7al\u0131\u015fmas\u0131 i\u00e7in gerekli olani iptables extention kay\u0131tlar\u0131n\u0131 kontrol edelim.<\/span><\/p>\n<p><span style=\"font-size: 16px;\"><strong>perl \/etc\/csf\/csftest.pl<\/strong><\/span><\/p>\n<p><span style=\"font-size: 16px;\">Not : <em>E\u011fer i\u015fletim sisteminde APF kurulysa bu yaz\u0131l\u0131m\u0131 sunucudan kald\u0131rmam\u0131z gerekir. Aksi bir durumda \u00e7ak\u0131\u015fma ya\u015fanarak farkl\u0131 problemler olu\u015fabilir.<\/em><\/span><\/p>\n<p><span style=\"font-size: 16px;\"><strong>sh \/etc\/csf\/remove_apf_bfd.sh \/\u00a0<\/strong><em>Komutuyla APF yaz\u0131l\u0131m\u0131n\u0131 kald\u0131rabilirsiniz.<\/em><\/span><\/p>\n<p><span style=\"font-size: 16px;\">Yaz\u0131m\u0131zda WHM&Cpanel i\u00e7eri\u011fini hedef ald\u0131\u011f\u0131m\u0131dan dolay\u0131 WHM CSF pluginini kullanatak firewall yap\u0131s\u0131n\u0131 sisteme uyarlamam\u0131z daha do\u011fru olacak.<\/span><\/p>\n<p><span style=\"font-size: 16px;\">Peki bu yaz\u0131l\u0131m sunucudan nas\u0131l kald\u0131r\u0131l\u0131r ?<\/span><\/p>\n<p><span style=\"font-size: 16px;\">Cd komutuyla csf dizinine gidiyoruz. SH komutu yaz\u0131l\u0131m\u0131 kald\u0131rmam\u0131z i\u00e7in yeterli olacak.<\/span><\/p>\n<p><span style=\"font-size: 16px;\"><strong>cd \/etc\/csf<br \/>\nsh uninstall.sh<\/strong><\/span><\/p>\n<p><span style=\"font-size: 16px;\">Faydal\u0131 olmas\u0131 dile\u011fiyle.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"Bu yaz\u0131m\u0131zda CSF plugin\u00a0(Config Server Firewall) kurulumunu anlataca\u011f\u0131z. CSF Nedir? CSF plugin genelde WHM&#038;cPanel kurulu sunucularda kullan\u0131lan firewall&hellip;\n","protected":false},"author":7,"featured_media":12001,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,53],"tags":[],"class_list":{"0":"post-11976","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-genel","8":"category-guvenlik"},"_links":{"self":[{"href":"https:\/\/www.natro.com\/blog\/wp-json\/wp\/v2\/posts\/11976","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.natro.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.natro.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.natro.com\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.natro.com\/blog\/wp-json\/wp\/v2\/comments?post=11976"}],"version-history":[{"count":0,"href":"https:\/\/www.natro.com\/blog\/wp-json\/wp\/v2\/posts\/11976\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.natro.com\/blog\/wp-json\/wp\/v2\/media\/12001"}],"wp:attachment":[{"href":"https:\/\/www.natro.com\/blog\/wp-json\/wp\/v2\/media?parent=11976"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.natro.com\/blog\/wp-json\/wp\/v2\/categories?post=11976"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.natro.com\/blog\/wp-json\/wp\/v2\/tags?post=11976"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}