{"id":9594,"date":"2026-02-05T11:45:46","date_gmt":"2026-02-05T09:45:46","guid":{"rendered":"https:\/\/help.libyanspider.com\/ar\/?post_type=ht_kb&#038;p=9594"},"modified":"2026-02-05T14:32:25","modified_gmt":"2026-02-05T12:32:25","slug":"securing-your-server-how-to-restrict-port-access-to-specific-ips","status":"publish","type":"ht_kb","link":"https:\/\/help.libyanspider.com\/ar\/kb-article\/securing-your-server-how-to-restrict-port-access-to-specific-ips\/","title":{"rendered":"\u062a\u0623\u0645\u064a\u0646 \u0645\u062e\u062f\u0645\u0643: \u0643\u064a\u0641\u064a\u0629 \u062a\u0642\u064a\u064a\u062f \u0627\u0644\u0648\u0635\u0648\u0644 \u0625\u0644\u0649 \u0627\u0644\u0645\u0646\u0627\u0641\u0630 \u0644\u0639\u0646\u0627\u0648\u064a\u0646 IP \u0645\u062d\u062f\u062f\u0629"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u0645\u0642\u062f\u0645\u0629<\/h2>\n\n\n\n<p>\u0625\u0646 \u062a\u0631\u0643 \u0627\u0644\u062e\u062f\u0645\u0627\u062a \u0627\u0644\u062d\u0633\u0627\u0633\u0629 (\u0645\u062b\u0644 \u0642\u0648\u0627\u0639\u062f \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a\u060c SSH\u060c \u0623\u0648 RDP) \u0645\u0643\u0634\u0648\u0641\u0629 \u0644\u0634\u0628\u0643\u0629 \u0627\u0644\u0625\u0646\u062a\u0631\u0646\u062a \u0628\u0627\u0644\u0643\u0627\u0645\u0644 \u064a\u0632\u064a\u062f \u0628\u0634\u0643\u0644 \u0643\u0628\u064a\u0631 \u0645\u0646 \u0645\u062e\u0627\u0637\u0631 \u0627\u0644\u0648\u0635\u0648\u0644 \u063a\u064a\u0631 \u0627\u0644\u0645\u0635\u0631\u062d \u0628\u0647 \u0648\u0627\u0644\u0647\u062c\u0645\u0627\u062a \u0627\u0644\u062a\u0644\u0642\u0627\u0626\u064a\u0629. \u0627\u0644\u0637\u0631\u064a\u0642\u0629 \u0627\u0644\u0623\u0643\u062b\u0631 \u0641\u0639\u0627\u0644\u064a\u0629 \u0644\u062a\u0623\u0645\u064a\u0646 \u0647\u0630\u0647 \u0627\u0644\u062e\u062f\u0645\u0627\u062a \u0647\u064a \u0636\u0628\u0637 \u062c\u062f\u0627\u0631 \u0627\u0644\u062d\u0645\u0627\u064a\u0629 (Firewall) \u0644\u0644\u0633\u0645\u0627\u062d \u0628\u0645\u0631\u0648\u0631 \u062d\u0631\u0643\u0629 \u0627\u0644\u0645\u0631\u0648\u0631 \u0641\u0642\u0637 \u0645\u0646 <strong>\u0639\u0646\u0627\u0648\u064a\u0646 IP \u0645\u0648\u062b\u0648\u0642\u0629<\/strong>.<\/p>\n\n\n\n<p>\u0646\u0638\u0631\u0627\u064b \u0644\u0627\u062e\u062a\u0644\u0627\u0641 \u0628\u064a\u0626\u0627\u062a \u0627\u0644\u062e\u0648\u0627\u062f\u0645\u060c \u0641\u0625\u0646 \u0637\u0631\u064a\u0642\u0629 \u062a\u0642\u064a\u064a\u062f \u0627\u0644\u0648\u0635\u0648\u0644 \u062a\u0639\u062a\u0645\u062f \u0639\u0644\u0649 \u0646\u0638\u0627\u0645 \u0627\u0644\u062a\u0634\u063a\u064a\u0644 \u0627\u0644\u062e\u0627\u0635 \u0628\u0643 \u0648\u0645\u0627 \u0625\u0630\u0627 \u0643\u0646\u062a \u062a\u0633\u062a\u062e\u062f\u0645 \u0644\u0648\u062d\u0629 \u062a\u062d\u0643\u0645.<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-alert\"><strong>\u062a\u0646\u0628\u064a\u0647 \u0647\u0627\u0645:<\/strong><br> \u0625\u0630\u0627 \u0643\u0627\u0646 \u062e\u0627\u062f\u0645\u0643 \u064a\u062d\u062a\u0648\u064a \u0639\u0644\u0649 \u0644\u0648\u062d\u0629 \u062a\u062d\u0643\u0645 \u0645\u062b\u0628\u062a\u0629 (\u0645\u062b\u0644 <strong>Plesk<\/strong> \u0623\u0648 <strong>cPanel\/WHM<\/strong>)\u060c \u0641\u064a\u062c\u0628 \u0639\u0644\u064a\u0643 \u0625\u062f\u0627\u0631\u0629 \u0642\u0648\u0627\u0639\u062f \u062c\u062f\u0627\u0631 \u0627\u0644\u062d\u0645\u0627\u064a\u0629 \u0645\u0646 \u062e\u0644\u0627\u0644 \u0648\u0627\u062c\u0647\u0629 \u0644\u0648\u062d\u0629 \u0627\u0644\u062a\u062d\u0643\u0645 <strong>\u0641\u0642\u0637<\/strong>. \u0625\u0646 \u062a\u0639\u062f\u064a\u0644 \u062c\u062f\u0627\u0631 \u0627\u0644\u062d\u0645\u0627\u064a\u0629 \u0639\u0628\u0631 \u0633\u0637\u0631 \u0627\u0644\u0623\u0648\u0627\u0645\u0631 (Command Line) \u0641\u064a \u0647\u0630\u0647 \u0627\u0644\u062e\u0648\u0627\u062f\u0645 \u0642\u062f \u064a\u0624\u062f\u064a \u0625\u0644\u0649 \u062a\u0636\u0627\u0631\u0628 \u0641\u064a \u0627\u0644\u0625\u0639\u062f\u0627\u062f\u0627\u062a \u0623\u0648 \u0642\u062f \u064a\u062a\u0633\u0628\u0628 \u0641\u064a \u062d\u0638\u0631\u0643 \u0648\u0645\u0646\u0639\u0643 \u0645\u0646 \u0627\u0644\u0648\u0635\u0648\u0644 \u0625\u0644\u0649 \u062e\u0627\u062f\u0645\u0643.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u0627\u062e\u062a\u0631 \u0628\u064a\u0626\u0629 \u0639\u0645\u0644\u0643 \u0644\u0644\u0645\u062a\u0627\u0628\u0639\u0629:<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>1. \u0627\u0644\u062e\u0648\u0627\u062f\u0645 \u0627\u0644\u062a\u064a \u062a\u0639\u0645\u0644 \u0628\u0644\u0648\u062d\u0629 \u062a\u062d\u0643\u0645<\/strong><\/h3>\n\n\n\n<p>\u0625\u0630\u0627 \u0643\u0646\u062a \u062a\u062f\u064a\u0631 \u0645\u0648\u0627\u0642\u0639\u0643 \u0645\u0646 \u062e\u0644\u0627\u0644 \u0648\u0627\u062c\u0647\u0629 \u0631\u0633\u0648\u0645\u064a\u0629\u060c \u0627\u062a\u0628\u0639 \u0627\u0644\u0623\u062f\u0644\u0629 \u0627\u0644\u062a\u0627\u0644\u064a\u0629:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>cPanel\/WHM:<\/strong> <a href=\"https:\/\/help.libyanspider.com\/ar\/kb-article\/how-to-restrict-port-access-in-cpanel-whm-using-csf\/\">\u0625\u0639\u062f\u0627\u062f \u062c\u062f\u0627\u0631 \u0627\u0644\u062d\u0645\u0627\u064a\u0629 CSF (ConfigServer Security & Firewall)<\/a><\/li>\n\n\n\n<li><strong>Plesk<\/strong>: <a href=\"https:\/\/help.libyanspider.com\/ar\/kb-article\/how-to-restrict-port-access-using-the-plesk-firewall\/\">\u0643\u064a\u0641\u064a\u0629 \u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0625\u0636\u0627\u0641\u0629 \u062c\u062f\u0627\u0631 \u0627\u0644\u062d\u0645\u0627\u064a\u0629 (Firewall Extension)<\/a><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>2. \u062e\u0648\u0627\u062f\u0645 \u0644\u064a\u0646\u0643\u0633 (Linux Servers)<\/strong><\/h3>\n\n\n\n<p>\u0625\u0630\u0627 \u0643\u0646\u062a \u062a\u062f\u064a\u0631 \u062e\u0627\u062f\u0645\u0643 \u0639\u0628\u0631 SSH \u0648\u0628\u062f\u0648\u0646 \u0644\u0648\u062d\u0629 \u062a\u062d\u0643\u0645:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Ubuntu \/ Debian<\/strong>: <a href=\"https:\/\/help.libyanspider.com\/ar\/kb-article\/how-to-restrict-port-access-using-ufw-ubuntu-debian\/\">\u0627\u0633\u062a\u062e\u062f\u0627\u0645 UFW (Uncomplicated Firewall)<\/a><\/li>\n\n\n\n<li><strong>CentOS \/ AlmaLinux \/ RHEL:<\/strong> <a href=\"https:\/\/help.libyanspider.com\/ar\/kb-article\/how-to-restrict-port-access-using-firewalld\/\">\u0627\u0633\u062a\u062e\u062f\u0627\u0645 Firewalld<\/a><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>3. \u062e\u0648\u0627\u062f\u0645 \u0648\u064a\u0646\u062f\u0648\u0632 (Windows Server)<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Windows Firewall<\/strong>: <a href=\"https:\/\/help.libyanspider.com\/ar\/kb-article\/how-to-restrict-port-access-using-windows-firewall\/\">\u062a\u0642\u064a\u064a\u062f \u0639\u0646\u0627\u0648\u064a\u0646 IP \u0639\u0628\u0631 \u0627\u0644\u0648\u0627\u062c\u0647\u0629 \u0627\u0644\u0631\u0633\u0648\u0645\u064a\u0629 \u0648PowerShell<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u0645\u0642\u062f\u0645\u0629 \u0625\u0646 \u062a\u0631\u0643 \u0627\u0644\u062e\u062f\u0645\u0627\u062a \u0627\u0644\u062d\u0633\u0627\u0633\u0629 (\u0645\u062b\u0644 \u0642\u0648\u0627\u0639\u062f \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a\u060c SSH\u060c \u0623\u0648 RDP) \u0645\u0643\u0634\u0648\u0641\u0629 \u0644\u0634\u0628\u0643\u0629 \u0627\u0644\u0625\u0646\u062a\u0631\u0646\u062a \u0628\u0627\u0644\u0643\u0627\u0645\u0644 \u064a\u0632\u064a\u062f \u0628\u0634\u0643\u0644 \u0643\u0628\u064a\u0631 \u0645\u0646 \u0645\u062e\u0627\u0637\u0631 \u0627\u0644\u0648\u0635\u0648\u0644 \u063a\u064a\u0631 \u0627\u0644\u0645\u0635\u0631\u062d \u0628\u0647 \u0648\u0627\u0644\u0647\u062c\u0645\u0627\u062a \u0627\u0644\u062a\u0644\u0642\u0627\u0626\u064a\u0629. \u0627\u0644\u0637\u0631\u064a\u0642\u0629 \u0627\u0644\u0623\u0643\u062b\u0631 \u0641\u0639\u0627\u0644\u064a\u0629 \u0644\u062a\u0623\u0645\u064a\u0646 \u0647\u0630\u0647 \u0627\u0644\u062e\u062f\u0645\u0627\u062a \u0647\u064a \u0636\u0628\u0637 \u062c\u062f\u0627\u0631 \u0627\u0644\u062d\u0645\u0627\u064a\u0629 (Firewall) \u0644\u0644\u0633\u0645\u0627\u062d \u0628\u0645\u0631\u0648\u0631 \u062d\u0631\u0643\u0629 \u0627\u0644\u0645\u0631\u0648\u0631 \u0641\u0642\u0637 \u0645\u0646 \u0639\u0646\u0627\u0648\u064a\u0646 IP \u0645\u0648\u062b\u0648\u0642\u0629. \u0646\u0638\u0631\u0627\u064b \u0644\u0627\u062e\u062a\u0644\u0627\u0641 \u0628\u064a\u0626\u0627\u062a \u0627\u0644\u062e\u0648\u0627\u062f\u0645\u060c&#8230;<\/p>\n","protected":false},"author":15,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[40,766,760],"ht-kb-tag":[],"class_list":["post-9594","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-cloud","ht_kb_category-vps-dedicated-servers","ht_kb_category-ls-cloud"],"_links":{"self":[{"href":"https:\/\/help.libyanspider.com\/ar\/wp-json\/wp\/v2\/ht-kb\/9594","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.libyanspider.com\/ar\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/help.libyanspider.com\/ar\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/help.libyanspider.com\/ar\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/help.libyanspider.com\/ar\/wp-json\/wp\/v2\/comments?post=9594"}],"version-history":[{"count":4,"href":"https:\/\/help.libyanspider.com\/ar\/wp-json\/wp\/v2\/ht-kb\/9594\/revisions"}],"predecessor-version":[{"id":9600,"href":"https:\/\/help.libyanspider.com\/ar\/wp-json\/wp\/v2\/ht-kb\/9594\/revisions\/9600"}],"wp:attachment":[{"href":"https:\/\/help.libyanspider.com\/ar\/wp-json\/wp\/v2\/media?parent=9594"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/help.libyanspider.com\/ar\/wp-json\/wp\/v2\/ht-kb-category?post=9594"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/help.libyanspider.com\/ar\/wp-json\/wp\/v2\/ht-kb-tag?post=9594"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}