{"id":428,"date":"2025-09-10T16:00:16","date_gmt":"2025-09-10T13:00:16","guid":{"rendered":"https:\/\/destek.narhost.com\/?p=428"},"modified":"2025-10-26T14:19:55","modified_gmt":"2025-10-26T11:19:55","slug":"centos-6-guvenlik-duvari-kapatma","status":"publish","type":"post","link":"https:\/\/narhost.com\/destek\/centos-6-guvenlik-duvari-kapatma\/","title":{"rendered":"Centos 6 G\u00fcvenlik Duvar\u0131 Kapatma"},"content":{"rendered":"<p data-start=\"308\" data-end=\"567\">Sunucular \u00fczerinde \u00e7al\u0131\u015f\u0131rken kimi zaman g\u00fcvenlik duvar\u0131 servislerini ge\u00e7ici ya da kal\u0131c\u0131 olarak kapatman\u0131z gerekebilir. Bu yaz\u0131m\u0131zda <strong data-start=\"442\" data-end=\"453\">Narhost<\/strong> olarak CentOS 6 i\u015fletim sisteminde g\u00fcvenlik duvar\u0131n\u0131 nas\u0131l devre d\u0131\u015f\u0131 b\u0131rakabilece\u011finizi ad\u0131m ad\u0131m anlat\u0131yoruz.<\/p>\n<hr data-start=\"569\" data-end=\"572\" \/>\n<h2 data-start=\"574\" data-end=\"618\">Ge\u00e7ici Olarak G\u00fcvenlik Duvar\u0131n\u0131 Kapatma<\/h2>\n<p data-start=\"620\" data-end=\"713\">\u00d6ncelikle SSH \u00fczerinden sunucunuza giri\u015f yap\u0131n ve a\u015fa\u011f\u0131daki komutlar\u0131 s\u0131ras\u0131yla \u00e7al\u0131\u015ft\u0131r\u0131n:<\/p>\n<div class=\"contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary\">\n<div class=\"sticky top-9\">\n<div class=\"absolute end-0 bottom-0 flex h-9 items-center pe-2\">\n<div class=\"bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs\"><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"whitespace-pre! language-bash\">service iptables stop<br \/>\nservice ip6tables stop<br \/>\n<\/code><\/div>\n<\/div>\n<p data-start=\"773\" data-end=\"884\">\ud83d\udd39 \u0130lk komut <strong data-start=\"786\" data-end=\"812\">IPv4 g\u00fcvenlik duvar\u0131n\u0131<\/strong>, ikinci komut ise <strong data-start=\"831\" data-end=\"857\">IPv6 g\u00fcvenlik duvar\u0131n\u0131<\/strong> devre d\u0131\u015f\u0131 b\u0131rakacakt\u0131r.<\/p>\n<hr data-start=\"886\" data-end=\"889\" \/>\n<h2 data-start=\"891\" data-end=\"935\">Kal\u0131c\u0131 Olarak G\u00fcvenlik Duvar\u0131n\u0131 Kapatma<\/h2>\n<p data-start=\"937\" data-end=\"1082\">E\u011fer g\u00fcvenlik duvar\u0131n\u0131n sunucu yeniden ba\u015flat\u0131ld\u0131\u011f\u0131nda da otomatik olarak a\u00e7\u0131lmas\u0131n\u0131 istemiyorsan\u0131z, a\u015fa\u011f\u0131daki komutlar\u0131 \u00e7al\u0131\u015ft\u0131rman\u0131z gerekir:<\/p>\n<div class=\"contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary\">\n<div class=\"sticky top-9\">\n<div class=\"absolute end-0 bottom-0 flex h-9 items-center pe-2\">\n<div class=\"bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs\"><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"whitespace-pre! language-bash\">chkconfig iptables off<br \/>\nchkconfig ip6tables off<br \/>\n<\/code><\/div>\n<\/div>\n<p data-start=\"1144\" data-end=\"1221\">Bu i\u015flemle birlikte firewall servisleri sunucu a\u00e7\u0131l\u0131\u015f\u0131nda y\u00fcklenmeyecektir.<\/p>\n<hr data-start=\"1223\" data-end=\"1226\" \/>\n<h2 data-start=\"1228\" data-end=\"1261\">Firewalldan IPTables\u2019e Ge\u00e7i\u015f<\/h2>\n<p data-start=\"1263\" data-end=\"1391\">Baz\u0131 durumlarda <strong data-start=\"1279\" data-end=\"1292\">firewalld<\/strong> kullan\u0131yor olabilirsiniz. E\u011fer IPTables\u2019e d\u00f6nmek isterseniz, a\u015fa\u011f\u0131daki komutu kullanabilirsiniz:<\/p>\n<div class=\"contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary\">\n<div class=\"sticky top-9\">\n<div class=\"absolute end-0 bottom-0 flex h-9 items-center pe-2\">\n<div class=\"bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs\"><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"whitespace-pre! language-bash\">yum -y install iptables-services<br \/>\n<\/code><\/div>\n<\/div>\n<p data-start=\"1439\" data-end=\"1499\">Bu komut ile IPTables servisini tekrar y\u00fcklemi\u015f olursunuz.<\/p>\n<p data-start=\"1518\" data-end=\"1714\">\n","protected":false},"excerpt":{"rendered":"<p>Sunucular \u00fczerinde \u00e7al\u0131\u015f\u0131rken kimi zaman g\u00fcvenlik duvar\u0131 servislerini ge\u00e7ici ya da kal\u0131c\u0131 olarak kapatman\u0131z gerekebilir. Bu yaz\u0131m\u0131zda Narhost olarak CentOS 6 i\u015fletim sisteminde g\u00fcvenlik duvar\u0131n\u0131 nas\u0131l devre d\u0131\u015f\u0131 b\u0131rakabilece\u011finizi ad\u0131m ad\u0131m anlat\u0131yoruz.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[49],"class_list":["post-428","post","type-post","status-publish","format-standard","hentry","category-vps-server","tag-centos"],"meta_box":[],"_links":{"self":[{"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/posts\/428","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/comments?post=428"}],"version-history":[{"count":3,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/posts\/428\/revisions"}],"predecessor-version":[{"id":902,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/posts\/428\/revisions\/902"}],"wp:attachment":[{"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/media?parent=428"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/categories?post=428"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/tags?post=428"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}