{"id":396,"date":"2023-07-08T21:59:37","date_gmt":"2023-07-08T17:29:37","guid":{"rendered":"https:\/\/behineserver.com\/blog\/?p=396"},"modified":"2025-07-03T09:24:33","modified_gmt":"2025-07-03T05:54:33","slug":"dedicate-anti-sanctions","status":"publish","type":"post","link":"https:\/\/behineserver.com\/blog\/dedicate-anti-sanctions","title":{"rendered":"\u062a\u062d\u0631\u06cc\u0645 \u0634\u06a9\u0646 \u0627\u062e\u062a\u0635\u0627\u0635\u06cc"},"content":{"rendered":"<h2>\u062a\u062d\u0631\u06cc\u0645 \u0634\u06a9\u0646 \u0686\u06cc\u0633\u062a\u061f<\/h2>\n<p>\u0647\u0645\u0647\u200c\u06cc \u0645\u0627 \u0686\u0647 \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0646\u0648\u06cc\u0633\u060c \u0686\u0647 \u0634\u0628\u06a9\u0647 \u06a9\u0627\u0631 \u0628\u0627 \u0645\u0634\u06a9\u0644 \u062a\u062d\u0631\u06cc\u0645 \u0634\u062f\u0646 \u0627\u0632 \u0633\u0627\u06cc\u062a \u0647\u0627\u06cc \u062e\u0627\u0631\u062c\u06cc \u0639\u0644\u06cc\u0647 \u0627\u06cc\u0631\u0627\u0646 \u0645\u0648\u0627\u062c\u0647 \u0647\u0633\u062a\u06cc\u0645 \u0648 \u0632\u0645\u0627\u0646\u06cc\u200c\u06a9\u0647 \u0642\u0635\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0633\u0631\u0648\u06cc\u0633\u06cc \u0645\u062b\u0644 \u0633\u0631\u0648\u06cc\u0633 \u0647\u0627\u06cc <strong>\u06af\u0648\u06af\u0644 <\/strong>\u0648&#8230; \u0631\u0627 \u062f\u0627\u0631\u06cc\u0645\u060c \u0628\u0627 &#8220;<strong>\u062e\u0637\u0627\u06cc \u06f4\u06f0\u06f3&#8243;<\/strong> \u0648 \u06cc\u0627 \u0628\u0627 \u067e\u06cc\u0627\u0645 &#8220;<strong>\u06a9\u0634\u0648\u0631 \u0634\u0645\u0627 \u062a\u062d\u0631\u06cc\u0645 \u0634\u062f\u0647<\/strong> \u0648 <strong>\u0627\u0645\u06a9\u0627\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0627\u06cc\u0646 \u0633\u0631\u0648\u06cc\u0633 \u0646\u06cc\u0633\u062a&#8221; <\/strong>\u0631\u0648\u0628\u0631\u0648 \u0645\u06cc\u0634\u0648\u06cc\u0645. \u062d\u0627\u0644 \u0628\u0627\u0633\u0631\u0648\u06cc\u0633\u06cc \u06a9\u0647 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 \u0627\u06cc\u0646 \u0645\u0634\u06a9\u0644 \u0631\u0627 \u062d\u0644 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 \u06cc\u0627 \u0628\u0647\u062a\u0631\u0647 \u0628\u06af\u06cc\u0645 \u0627\u06cc\u0646 \u062a\u062d\u0631\u06cc\u0645 \u0631\u0648 \u062f\u0648\u0631 \u0628\u0632\u0646\u06cc\u0645. \u0633\u0631\u0648\u06cc\u0633\u06cc \u06a9\u0647 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062a\u06a9\u0646\u0648\u0644\u0648\u0698\u06cc \u062f\u06cc\u200c\u0627\u0646\u200c\u0627\u0633 \u0648 \u0628\u062f\u0648\u0646 \u0646\u06cc\u0627\u0632 \u0628\u0647 \u0646\u0635\u0628 \u0646\u0631\u0645\u200c\u0627\u0641\u0632\u0627\u0631\u060c \u062a\u062d\u0631\u06cc\u0645 \u0633\u0627\u06cc\u062a\u200c\u0647\u0627\u06cc \u062e\u0627\u0631\u062c\u06cc \u0639\u0644\u06cc\u0647 \u0627\u06cc\u0631\u0627\u0646 \u0631\u0627 \u0628\u06cc\u200c\u0627\u062b\u0631 \u0645\u06cc\u200c\u06a9\u0646\u062f. \u0634\u0645\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0627\u06cc\u0646 \u0633\u0631\u0648\u06cc\u0633 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0647 \u0633\u0627\u06cc\u062a\u200c\u0647\u0627\u06cc \u062a\u062d\u0631\u06cc\u0645\u06cc (\u06a9\u0647 \u0641\u06cc\u0644\u062a\u0631 \u0646\u06cc\u0633\u062a\u0646\u062f) \u0631\u0627 \u0628\u0627\u0632 \u06a9\u0646\u06cc\u062f.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-402\" src=\"https:\/\/behineserver.com\/blog\/wp-content\/uploads\/2023\/07\/SNI-Proxy.png\" alt=\"\" width=\"1309\" height=\"352\" srcset=\"https:\/\/behineserver.com\/blog\/wp-content\/uploads\/2023\/07\/SNI-Proxy.png 1309w, https:\/\/behineserver.com\/blog\/wp-content\/uploads\/2023\/07\/SNI-Proxy-300x81.png 300w, https:\/\/behineserver.com\/blog\/wp-content\/uploads\/2023\/07\/SNI-Proxy-1024x275.png 1024w, https:\/\/behineserver.com\/blog\/wp-content\/uploads\/2023\/07\/SNI-Proxy-768x207.png 768w\" sizes=\"auto, (max-width: 1309px) 100vw, 1309px\" \/><\/p>\n<h2>\u062a\u0641\u0627\u0648\u062a \u062a\u062d\u0631\u06cc\u0645 \u0634\u06a9\u0646 \u0627\u062e\u062a\u0635\u0627\u0635\u06cc \u0628\u0627 \u0633\u0627\u06cc\u0631 \u067e\u0644\u062a\u0641\u0631\u0645 \u0647\u0627 \u0645\u062b\u0644 \u067e\u0644\u062a\u0641\u0631\u0645 \u06f4\u06f0\u06f3 \u0648 \u06cc\u0627 \u0634\u06a9\u0646<\/h2>\n<p>\u062f\u0631 \u062a\u062d\u0631\u06cc\u0645 \u0634\u06a9\u0646 \u0647\u0627\u06cc \u0639\u0645\u0648\u0645\u06cc \u0645\u062b\u0644 \u067e\u0644\u062a\u0641\u0631\u0645 \u06f4\u06f0\u06f3 \u0648 \u06cc\u0627 \u0634\u06a9\u0646 \u0645\u0634\u06a9\u0644\u0627\u062a\u06cc \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f \u06a9\u0647 \u062f\u0631 \u0632\u06cc\u0631 \u0628\u0647 \u0628\u0631\u062e\u06cc \u0627\u0632 \u0622\u0646\u200c\u0647\u0627 \u0627\u0634\u0627\u0631\u0647 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 :<\/p>\n<ul>\n<li>\u0644\u06cc\u0645\u06cc\u062a \u0628\u0648\u062f\u0646 \u0633\u0631\u0639\u062a \u067e\u0644\u0646 \u0647\u0627\u06cc \u0631\u0627\u06cc\u06af\u0627\u0646 \u0646\u0633\u0628\u062a \u0628\u0647 \u067e\u0644\u0646 \u0647\u0627\u06cc \u067e\u0648\u0644\u06cc<\/li>\n<li>\u0627\u0645\u06a9\u0627\u0646 \u0628\u0648\u062c\u0648\u062f \u0622\u0645\u062f\u0646 \u0645\u0634\u06a9\u0644\u0627\u062a \u0627\u0645\u0646\u06cc\u062a\u06cc \u0628\u062e\u0627\u0637\u0631 \u067e\u0631\u0627\u06a9\u0633\u06cc \u06a9\u0631\u062f\u0646 \u06a9\u0644 \u062a\u0631\u0627\u0641\u06cc\u06a9 \u0634\u0628\u06a9\u0647<\/li>\n<li>\u0627\u0645\u06a9\u0627\u0646 \u0628\u0646 \u0634\u062f\u0646 \u062d\u0633\u0627\u0628 \u06a9\u0627\u0631\u0628\u0631\u06cc \u0634\u0645\u0627 \u062f\u0631 \u0633\u0627\u06cc\u062a \u0647\u0627\u06cc\u06cc \u06a9\u0647 \u062f\u0631 \u0622\u0646 \u0641\u0639\u0627\u0644\u06cc\u062a \u0645\u06cc\u200c\u06a9\u0646\u06cc\u062f<\/li>\n<li>\u067e\u0627\u0628\u0631\u062c\u0627\u0628\u0648\u062f\u0646 \u0645\u0634\u06a9\u0644 \u062a\u062d\u0631\u06cc\u0645 \u0648 \u0631\u0648\u0628\u0631\u0648 \u0634\u062f\u0646 \u0628\u0627 \u062e\u0637\u0627\u06cc \u06f4\u06f0\u06f3<\/li>\n<\/ul>\n<p><strong>\u062a\u0648\u0636\u06cc\u062d :\u00a0<\/strong>\u0628\u0627 \u062a\u0648\u062c\u0647 \u0628\u0647 \u0627\u06cc\u0646\u06a9\u0647 \u0627\u06a9\u062b\u0631 \u062a\u062d\u0631\u06cc\u0645 \u0634\u06a9\u0646 \u0647\u0627 \u0642\u0635\u062f \u062f\u0631\u0622\u0645\u062f\u0632\u0627\u06cc\u06cc \u0627\u0632 \u0627\u06cc\u0646 \u0633\u0631\u0648\u06cc\u0633 \u0631\u0627 \u062f\u0627\u0631\u0646\u062f\u060c\u0628\u0646\u0627\u0628\u0631 \u0627\u06cc\u0646 \u0631\u0648\u06cc \u067e\u0644\u0646 \u0647\u0627\u06cc \u0631\u0627\u06cc\u06af\u0627\u0646 \u0645\u062d\u062f\u0648\u062f\u06cc\u062a \u0633\u0631\u0639\u062a \u0627\u0639\u0645\u0627\u0644 \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f \u06a9\u0647 \u0627\u06cc\u0646 \u0645\u062d\u062f\u0648\u062f\u06cc\u062a \u0642\u0637\u0639\u0627 \u0628\u0631\u0627\u06cc \u062a\u0648\u0633\u0639\u0647 \u062f\u0647\u0646\u062f\u06af\u0627\u0646 \u0628\u0633\u06cc\u0627\u0631 \u0622\u0632\u0627\u0631 \u062f\u0647\u0646\u062f\u0647 \u0647\u0633\u062a. \u0648 \u0647\u0645\u06cc\u0646\u0637\u0648\u0631 \u0628\u0631\u0627\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632\u0627\u06cc\u0646 \u0633\u0631\u0648\u06cc\u0633 \u0647\u0627 \u0628\u0627\u06cc\u062f \u062f\u0631 \u0641\u0627\u06cc\u0644 resolv.conf \u0648 \u06cc\u0627 \u062f\u06cc\u200c\u0627\u0646\u200c\u0627\u0633 \u0647\u0627\u06cc \u0633\u06cc\u0633\u062a\u0645 \u062e\u0648\u062f \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a\u06cc \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u062f \u06a9\u0647 \u0627\u06cc\u0646 \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u0628\u062e\u0627\u0637\u0631 \u0627\u06cc\u0646\u06a9\u0647 \u06a9\u0644 \u062a\u0631\u0627\u0641\u06cc\u06a9 \u0634\u0628\u06a9\u0647 \u0634\u0645\u0627 \u0631\u0627 \u0627\u0632 \u0627\u06cc\u0646 \u0634\u0628\u06a9\u0647 \u0647\u0627 (\u0634\u0628\u06a9\u0647 \u062a\u062d\u0631\u06cc\u0645 \u0634\u06a9\u0646) \u0631\u062f \u0645\u06cc\u200c\u06a9\u0646\u062f \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u0628\u0631\u0627\u06cc \u0634\u0645\u0627 \u0645\u0634\u06a9\u0644\u0627\u062a \u0627\u0645\u0646\u06cc\u062a\u06cc \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u062f \u0648 \u06cc\u0627 \u0641\u06a9\u0631 \u06a9\u0646\u06cc\u062f \u062f\u0631 \u0633\u0627\u06cc\u062a\u06cc \u0639\u0636\u0648 \u0647\u0633\u062a\u06cc\u062f \u06a9\u0647 \u062a\u062d\u0631\u06cc\u0645 \u0647\u0633\u062a \u0648 \u0645\u062b\u0644 \u0634\u0645\u0627 \u0686\u0646\u062f \u0646\u0641\u0631 \u062f\u06cc\u06af\u0647 \u0647\u0645 \u062f\u0631 \u0627\u06cc\u0646 \u0633\u0627\u06cc\u062a \u0647\u0627 \u0639\u0636\u0648 \u0647\u0633\u062a\u0646\u062f\u060c\u0648\u0642\u062a\u06cc \u0647\u0631\u062f\u0648 \u0627\u0632 \u06cc\u06a9 \u062a\u062d\u0631\u06cc\u0645 \u0634\u06a9\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u062f \u0633\u0627\u06cc\u062a \u06cc\u0627 \u0633\u0631\u0648\u06cc\u0633 \u062f\u0647\u0646\u062f\u0647 \u0628\u0631\u0627\u062d\u062a\u06cc \u0627\u06cc\u0646 \u062f\u0648\u0631 \u0632\u062f\u0646 \u062a\u062d\u0631\u06cc\u0645 \u0631\u0627 \u0634\u0646\u0627\u0633\u0627\u06cc\u06cc \u06a9\u0631\u062f\u0647 \u0648 \u062d\u0633\u0627\u0628 \u0634\u0645\u0627 \u0631\u0627 \u0628\u0646 \u0645\u06cc\u200c\u06a9\u0646\u062f.\u0648\u062d\u062a\u06cc \u062f\u0631 \u062e\u06cc\u0644\u06cc \u0645\u0648\u0627\u0642\u0639 \u0628\u0627 \u0627\u06cc\u0646\u06a9\u0647 \u0627\u0632 \u062a\u062d\u0631\u06cc\u0645 \u0634\u06a9\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 \u0634\u0627\u0647\u062f \u067e\u0627\u0628\u0631\u062c\u0627 \u0628\u0648\u062f\u0646 \u0645\u0634\u06a9\u0644 \u062a\u062d\u0631\u06cc\u0645 \u0647\u0633\u062a\u06cc\u0645.<\/p>\n<h2>\u067e\u06cc\u0634 \u0646\u06cc\u0627\u0632\u0647\u0627<\/h2>\n<p>\u0628\u0631\u0627\u06cc \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc\u00a0<strong>\u062a\u062d\u0631\u06cc\u0645 \u0634\u06a9\u0646 \u0627\u062e\u062a\u0635\u0627\u0635\u06cc<\/strong> \u0646\u06cc\u0627\u0632\u06cc \u0628\u0647 \u067e\u06cc\u0634\u200c\u0646\u06cc\u0627\u0632 \u062e\u0627\u0635\u06cc \u0646\u06cc\u0633\u062a \u0648 \u062a\u0646\u0647\u0627 \u062a\u0647\u06cc\u0647 \u06cc\u06a9 \u0633\u0631\u0648\u0631 \u0628\u0627 \u0633\u06cc\u0633\u062a\u0645 \u0639\u0627\u0645\u0644 CentOS \u06a9\u0627\u0641\u06cc \u0627\u0633\u062a.<\/p>\n<h2>\u0646\u0635\u0628 \u067e\u06cc\u0634\u200c\u0646\u06cc\u0627\u0632\u0647\u0627<\/h2>\n<div>\n<div>\u062f\u0633\u062a\u0648\u0631\u0627\u062a \u0632\u06cc\u0631 \u0631\u0627 \u0628\u0647 \u062a\u0631\u062a\u06cc\u0628 \u0628\u0631\u0627\u06cc \u0646\u0635\u0628 \u067e\u06cc\u0634\u200c\u0646\u06cc\u0627\u0632\u0647\u0627 \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f :<\/div>\n<\/div>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">yum -y install epel-release;\r\nyum -y install autoconf automake curl gettext gettext-devel libev libev-devel pcre pcre-devel perl pkgconfig rpm-build udns udns-devel devscripts zsh git;\r\nyum -y groupinstall \"Development Tools\";<\/pre>\n<p>\u0628\u0627 \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u0632\u06cc\u0631 sniproxy \u0631\u0627 \u0646\u0635\u0628 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 :<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">git clone http:\/\/github.com\/dlundquist\/sniproxy.git;\r\ncd sniproxy &amp;&amp; .\/autogen.sh &amp;&amp; .\/configure &amp;&amp; make dist;\r\nrpmbuild --define \"_sourcedir `pwd`\" -ba redhat\/sniproxy.spec;\r\nyum -y install \/root\/rpmbuild\/RPMS\/x86_64\/sniproxy-*.el7.x86_64.rpm;<\/pre>\n<p>\u0628\u0627 \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u0632\u06cc\u0631 \u06a9\u0627\u0646\u0641\u06cc\u06af \u0647\u0627\u06cc \u0644\u0627\u0632\u0645 \u0631\u0627 \u0628\u0631\u0627\u06cc sniproxy \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 :<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">touch \/etc\/sniproxy.conf;\r\ncat &lt;&lt; EOF &gt; \/etc\/sniproxy.conf\r\n    user daemon\r\n\r\npidfile \/var\/run\/sniproxy.pid\r\n\r\nresolver {\r\n        nameserver 1.1.1.1\r\n        nameserver 8.8.8.8\r\n        mode ipv4_only\r\n}\r\n\r\n#listener 80 {\r\n#       proto http\r\n#}\r\n\r\nlistener 443 {\r\n        proto tls\r\n}\r\n\r\ntable {\r\n        .* *\r\n}\r\nEOF<\/pre>\n<p>\u0628\u0631\u0627\u06cc \u0627\u06cc\u0646\u06a9\u0647 \u0633\u0631\u0648\u06cc\u0633 \u0628\u0627 \u0631\u06cc\u0628\u0648\u062a \u0632\u062f\u0646 \u0633\u0631\u0648\u0631 \u0628\u0635\u0648\u0631\u062a \u0627\u062a\u0648\u0645\u0627\u062a\u06cc\u06a9 \u0627\u062c\u0631\u0627 \u0634\u0648\u062f \u06cc\u06a9 \u0633\u0631\u0648\u06cc\u0633 \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 :<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">touch \/usr\/lib\/systemd\/system\/sniproxy.service;\r\ncat &lt;&lt; EOF &gt; \/usr\/lib\/systemd\/system\/sniproxy.service\r\n    [Unit]\r\nDescription=SNI Proxy Service\r\nAfter=network.target\r\n\r\n[Service]\r\nType=forking\r\nExecStart=\/usr\/sbin\/sniproxy -c \/etc\/sniproxy.conf\r\n\r\n[Install]\r\nWantedBy=multi-user.target\r\nEOF<\/pre>\n<p>\u0686\u0648\u0646 \u0633\u0631\u0648\u06cc\u0633 \u062a\u062d\u0631\u06cc\u0645 \u0634\u06a9\u0646 \u0631\u0648\u06cc \u0628\u0633\u062a\u0631 DNS \u0647\u0633\u062a \u0633\u0631\u0648\u06cc\u0633 dnsmasq \u0631\u0627 \u0646\u06cc\u0632 \u0646\u0635\u0628 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">yum -y install dnsmasq<\/pre>\n<p>\u0641\u0627\u06cc\u0644 \u06a9\u0627\u0646\u0641\u06cc\u06af \u0631\u0627 \u0628\u0647 \u0634\u06a9\u0644 \u0632\u06cc\u0631 \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 :<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">echo \"\" &gt; \/etc\/dnsmasq.conf;\r\ncat &lt;&lt; EOF &gt; \/etc\/dnsmasq.conf\r\n    conf-dir=\/etc\/dnsmasq.d\/,*.conf\r\ncache-size=100000\r\nno-resolv\r\nserver=1.1.1.1\r\nserver=8.8.8.8\r\ninterface=eth0\r\ninterface=lo\r\nEOF<\/pre>\n<p><span style=\"background-color: #ff0000;\">\u062a\u0648\u062c\u0647:\u00a0<\/span>\u0628\u062e\u0634 interface=eth0 \u0628\u0627\u06cc\u062f \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646 \u0634\u0648\u062f\u060c\u0628\u0631\u0627\u06cc \u0627\u06cc\u0646\u06a9\u0647 \u0646\u0627\u0645 interface \u0631\u0627 \u067e\u06cc\u062f\u0627 \u06a9\u0646\u06cc\u062f \u062f\u0633\u062a\u0648\u0631 ip a \u0631\u0627 \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f \u0648 \u0646\u0627\u0645 interaface \u0631\u0627 \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u06cc\u062f :<\/p>\n<p>interface=NAME<\/p>\n<p>\u0628\u0631\u0627\u06cc \u0627\u06cc\u0646\u06a9\u0647 proxy \u06a9\u0631\u062f\u0646 \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0647\u0627 \u0644\u0627\u0632\u0645 \u0627\u0633\u062a NGINX \u0646\u06cc\u0632 \u0646\u0635\u0628 \u0648 \u06a9\u0627\u0646\u0641\u06cc\u06af \u0634\u0648\u062f :<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">yum -y install nginx;\r\ncp \/etc\/nginx\/nginx.conf \/etc\/nginx\/nginx.conf.bak;\r\necho \"\" &gt; \/etc\/nginx\/nginx.conf;\r\ncat &lt;&lt; EOF &gt; \/etc\/nginx\/nginx.conf\r\n    user nginx;\r\nworker_processes auto;\r\nerror_log \/var\/log\/nginx\/error.log;\r\npid \/run\/nginx.pid;\r\n\r\ninclude \/usr\/share\/nginx\/modules\/*.conf;\r\n\r\nevents {\r\n    worker_connections 1024;\r\n}\r\n\r\nhttp {\r\n    log_format  main  '$remote_addr - $remote_user [$time_local] \"$request\" '\r\n                      '$status $body_bytes_sent \"$http_referer\" '\r\n                      '\"$http_user_agent\" \"$http_x_forwarded_for\"';\r\n\r\n    access_log  \/var\/log\/nginx\/access.log  main;\r\n\r\n    sendfile            on;\r\n    tcp_nopush          on;\r\n    tcp_nodelay         on;\r\n    keepalive_timeout   65;\r\n    types_hash_max_size 2048;\r\n\r\n    include             \/etc\/nginx\/mime.types;\r\n    default_type        application\/octet-stream;\r\n\r\n        include \/etc\/nginx\/conf.d\/*.conf;\r\n\r\n    server {\r\n                listen       80 default_server;\r\n        server_name  _;\r\n        root         \/usr\/share\/nginx\/html;\r\n\r\n        include \/etc\/nginx\/default.d\/*.conf;\r\n\r\n        location \/ {\r\n            rewrite ^ $http_x_forwarded_proto:\/\/$host$request_uri permanent;\r\n        }\r\n\r\n        error_page 404 \/404.html;\r\n            location = \/40x.html {\r\n        }\r\n\r\n        error_page 500 502 503 504 \/50x.html;\r\n            location = \/50x.html {\r\n        }\r\n    }\r\n}\r\nEOF<\/pre>\n<p>\u0628\u0631\u0627\u06cc \u0627\u062c\u0631\u0627\u06cc \u0627\u062a\u0648\u0645\u0627\u062a\u06cc\u06a9 \u0633\u0631\u0648\u06cc\u0633 \u0647\u0627 \u062f\u0631 \u0645\u0648\u0627\u0642\u0639 \u0631\u06cc\u0628\u0648\u062a \u0632\u062f\u0646 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0631\u0627 \u0627\u062c\u0631\u0627 \u0645\u06cc\u200c\u06af\u06cc\u0631\u06cc\u0645 :<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">systemctl enable sniproxy &amp;&amp; systemctl enable dnsmasq &amp;&amp; systemctl enable nginx;\r\nsystemctl start sniproxy &amp;&amp; systemctl start dnsmasq &amp;&amp; systemctl start nginx;\r\n<\/pre>\n<p>\u0646\u0635\u0628 \u0633\u0631\u0648\u06cc\u0633 \u062a\u0645\u0627\u0645 \u0634\u062f.<\/p>\n<h2>\u062a\u0639\u0631\u06cc\u0641 \u062f\u0627\u0645\u0646\u0647 \u062a\u062d\u0631\u06cc\u0645 \u0634\u062f\u0647 \u0628\u0631\u0627\u06cc \u062a\u062d\u0631\u06cc\u0645 \u0634\u06a9\u0646<\/h2>\n<p>\u0628\u0631\u0627\u06cc \u0627\u06cc\u0646\u06a9\u0647 \u062f\u0627\u0645\u0646\u0647 \u0645\u062f \u0646\u0638\u0631 \u0627\u0632 \u0641\u06cc\u0644\u062a\u0631 \u062e\u0627\u0631\u062c \u0634\u0648\u062f \u0644\u0627\u0632\u0645 \u0627\u0633\u062a \u062f\u0631 \u0645\u0633\u06cc\u0631 \/etc\/dnsmasq.d\/ \u06cc\u06a9 \u0641\u0627\u06cc\u0644\u06cc \u0628\u0627 \u0627\u0633\u0645 sni.conf \u0627\u06cc\u062c\u0627\u062f \u0634\u0648\u062f \u0648 \u0637\u0628\u0642 \u0641\u0631\u0645\u062a \u0632\u06cc\u0631 \u062f\u0627\u0645\u0646\u0647 \u0627\u0636\u0627\u0641\u0647 \u0634\u0648\u062f :<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">address=\/.domaion.com\/ipserver<\/pre>\n<p>\u0628\u062c\u0627\u06cc domain.com \u0622\u062f\u0631\u0633 \u062f\u0627\u0645\u0646\u0647 \u062a\u062d\u0631\u06cc\u0645 \u0634\u062f\u0647 \u0648 \u0628\u062c\u0627\u06cc ipserver \u0622\u06cc\u067e\u06cc \u0633\u0631\u0648\u0631 \u062e\u0648\u062f \u0631\u0627 \u0648\u0627\u0631\u062f \u06a9\u0646\u06cc\u062f.(\u0628\u0631\u0627\u06cc \u062f\u0631\u06cc\u0627\u0641\u062a ip \u0633\u0631\u0648\u0631 \u062e\u0648\u062f \u0627\u0632 \u062f\u0633\u062a\u0648\u0631 ip a \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.)<\/p>\n<h2>\u067e\u06cc\u062f\u0627 \u06a9\u0631\u062f\u0646 \u0644\u06cc\u0633\u062a \u062f\u0627\u0645\u0646\u0647 \u0647\u0627\u06cc \u062a\u062d\u0631\u06cc\u0645 \u0634\u062f\u0647<\/h2>\n<p>\u0645\u062c\u0645\u0648\u0639\u0647 \u0628\u0647\u06cc\u0646\u0647 \u0633\u0631\u0648\u0631 \u0628\u0631\u0627\u06cc \u0634\u0645\u0627 \u06cc\u06a9 \u0644\u06cc\u0633\u062a\u06cc \u0631\u0627 \u062a\u0647\u06cc\u0647 \u06a9\u0631\u062f\u0647 \u06a9\u0647 \u0645\u062f\u0627\u0645 \u062f\u0631 \u062d\u0627\u0644 \u0628\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06cc \u0645\u06cc \u0628\u0627\u0634\u062f.\u0627\u06af\u0631 \u0646\u0645\u06cc\u200c\u062f\u0627\u0646\u06cc\u062f \u0686\u0647 \u0622\u062f\u0631\u0633 \u0647\u0627\u06cc\u06cc \u062a\u062d\u0631\u06cc\u0645 \u0645\u06cc \u0628\u0627\u0634\u062f \u06a9\u0627\u0641\u06cc\u0633\u062a \u0641\u0627\u06cc\u0644 \u0622\u0645\u0627\u062f\u0647 \u0634\u062f\u0647 \u062a\u0648\u0633\u0637 \u0645\u062c\u0645\u0648\u0639\u0647 \u0628\u0647\u06cc\u0646\u0647 \u0633\u0631\u0648\u0631 \u0631\u0627 \u062f\u0627\u0646\u0644\u0648\u062f \u06a9\u0631\u062f\u0647 \u0648 \u062f\u0631 \u0645\u0633\u06cc\u0631 \u0645\u0634\u062e\u0635 \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f. \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646\u06a9\u0627\u0631 \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u0632\u06cc\u0631 \u0631\u0627 \u0628\u0647 \u062a\u0631\u062a\u06cc\u0628 \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f :<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">wget https:\/\/files.behineserver.com\/scripts\/tahrimshecan\/sni.conf;\r\nmv sni.conf \/etc\/dnsmasq.d\/sni.conf;<\/pre>\n<p><span style=\"background-color: #ff0000;\"><strong>\u0646\u06a9\u062a\u0647 :\u00a0<\/strong><\/span><\/p>\n<ul>\n<li><mark><span style=\"background-color: #ff0000;\">\u0644\u0627\u0632\u0645 \u0627\u0633\u062a \u0641\u0627\u06cc\u0644 \u0628\u0627 \u0648\u06cc\u0631\u0627\u06cc\u0634 \u06af\u0631\u06cc \u0645\u062b\u0644 nano \u0648\u06cc\u0631\u0627\u06cc\u0634 \u0634\u062f\u0647 \u0648 \u0639\u0628\u0627\u0631\u062a ipserver \u0628\u0627 \u0622\u06cc\u200c\u067e\u06cc \u0633\u0631\u0648\u0631 \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646 \u0634\u0648\u062f.<\/span><\/mark><\/li>\n<li><mark><span style=\"background-color: #ff0000;\"><strong>\u0627\u06af\u0631 \u0642\u0635\u062f \u062f\u0627\u0631\u06cc\u062f \u062f\u0627\u0645\u0646\u0647 \u0627\u06cc \u0631\u0627 \u0628\u0635\u0648\u0631\u062a \u062f\u0633\u062a\u06cc \u062a\u0639\u0631\u06cc\u0641 \u0646\u06a9\u0646\u06cc\u062f \u0648 \u0647\u0645\u0647 \u062f\u0627\u0645\u0646\u0647 \u0647\u0627 \u062a\u0648\u0633\u0637 \u062a\u062d\u0631\u06cc\u0645 \u0634\u06a9\u0646 \u067e\u0631\u0627\u06a9\u0633\u06cc \u0634\u0648\u062f \u06a9\u0627\u0641\u06cc\u0633\u062a \u0645\u0631\u0627\u062d\u0644 \u0632\u06cc\u0631 \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u062f :\u00a0<\/strong><\/span><\/mark><\/li>\n<\/ul>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">echo \"\" &gt; \/etc\/dnsmasq.d\/sni.conf;\r\ncat &lt;&lt; EOF &gt; \/etc\/dnsmasq.d\/sni.conf\r\n    address=\/#\/ipserver\r\nEOF<\/pre>\n<p>\u0628\u062c\u0627\u06cc ipserver \u0628\u0627\u06cc\u062f \u0622\u06cc\u200c\u067e\u06cc \u0633\u0631\u0648\u0631 \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646 \u0634\u0648\u062f.<\/p>\n<h2>\u0646\u0635\u0628 \u0627\u062a\u0648\u0645\u0627\u062a\u06cc\u06a9 \u062a\u062d\u0631\u06cc\u0645 \u0634\u06a9\u0646 \u0627\u062e\u062a\u0635\u0627\u0635\u06cc \u0628\u0627 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0622\u0645\u0627\u062f\u0647 \u0634\u062f\u0647<\/h2>\n<p>\u0628\u0631\u0627\u06cc \u0646\u0635\u0628 \u0627\u062a\u0648\u0645\u0627\u06cc\u062a\u06a9 \u06a9\u0627\u0641\u06cc\u0633\u062a \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0622\u0645\u0627\u062f\u0647 \u0634\u062f\u0647 \u0631\u0627 \u0646\u0635\u0628 \u062f\u0627\u0646\u0644\u0648\u062f \u06a9\u0646\u06cc\u062f :<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">wget https:\/\/files.behineserver.com\/scripts\/tahrimshecan\/installer.sh<\/pre>\n<p>\u0648 \u0633\u067e\u0633 \u0628\u0627 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 permission \u0627\u062c\u0631\u0627 \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0646\u06cc\u062f :<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">chmod +x .\/installer.sh<\/pre>\n<p style=\"direction: rtl;\">\u0648 \u0633\u067e\u0633 \u0628\u0627 \u06cc\u06a9 \u0648\u06cc\u0631\u0627\u06cc\u0634\u06af\u0631\u06cc \u0645\u062b\u0644 nano \u0641\u0627\u06cc\u0644 \u0631\u0627 \u0648\u06cc\u0631\u0627\u06cc\u0634 \u06a9\u0631\u062f\u0647 \u0648 \u0645\u0642\u062f\u0627\u0631 ipserver \u0631\u0627 \u0628\u0627 \u0622\u06cc\u200c\u067e\u06cc \u0633\u0631\u0648\u0631 \u062e\u0648\u062f \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646 \u06a9\u0646\u06cc\u062f.\u0648 \u062f\u0631\u0646\u0647\u0627\u06cc\u062a \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0631\u0627 \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f :<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">.\/installer.sh<\/pre>\n<p>\u0646\u0635\u0628 \u062a\u0645\u0627\u0645 \u0634\u062f.<\/p>\n<h2>\u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u06a9\u0644\u0627\u06cc\u0646\u062a<\/h2>\n<p>\u0628\u0639\u062f \u0627\u0632 \u0646\u0635\u0628 \u0633\u0631\u0648\u06cc\u0633 \u062a\u062d\u0631\u06cc\u0645 \u0634\u06a9\u0646 \u0644\u0627\u0632\u0645 \u0627\u0633\u062a \u0633\u0645\u062a \u06a9\u0644\u0627\u06cc\u0646\u062a(\u0633\u06cc\u0633\u062a\u0645 \u0634\u062e\u0635\u06cc \u06cc\u0627 \u0633\u0631\u0648\u0631) \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a\u06cc \u0627\u0639\u0645\u0627\u0644 \u0634\u0648\u062f.<\/p>\n<p><strong>\u0633\u06cc\u0633\u062a\u0645 \u0647\u0627\u06cc \u0648\u06cc\u0646\u062f\u0648\u0632\u06cc :\u00a0<\/strong>\u0627\u0632 \u0645\u0633\u06cc\u0631 C:\\Windows\\System32\\drivers\\etc \u0641\u0627\u06cc\u0644 hosts \u0631\u0627 \u0648\u06cc\u0631\u0627\u06cc\u0634 \u06a9\u0631\u062f\u0647 \u0648 \u0628\u0627 \u0641\u0631\u0645\u062a \u0632\u06cc\u0631 \u062f\u0627\u0645\u0646\u0647 \u0631\u0627 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f :<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">ipserver       indexing.google.com<\/pre>\n<p>\u0628\u062c\u0627\u06cc ipserver \u0628\u0627\u06cc\u062f \u0622\u06cc\u200c\u067e\u06cc \u0633\u0631\u0648\u0631 \u062a\u062d\u0631\u06cc\u0645 \u0634\u06a9\u0646 \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646 \u0634\u0648\u062f.\u0648 \u0628\u062c\u0627\u06cc indexing.google.com \u0622\u062f\u0631\u0633 \u062f\u0627\u0645\u0646\u0647 \u062a\u062d\u0631\u06cc\u0645 \u0634\u062f\u0647.<\/p>\n<p><strong>\u0633\u06cc\u0633\u062a\u0645 \u0647\u0627\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633\u06cc \u0648 \u06cc\u0627 \u0645\u06a9 :<\/strong>\u00a0 \u0641\u0627\u06cc\u0644 hosts \u0627\u0632 \u0645\u0633\u06cc\u0631 \/etc\/ \u0628\u0627\u06cc\u062f \u0648\u06cc\u0631\u0627\u06cc\u0634 \u0634\u062f\u0647 \u0648 \u0628\u0627 \u0641\u0631\u0645\u062a \u0632\u06cc\u0631 \u062f\u0627\u0645\u0646\u0647 \u0627\u0636\u0627\u0641\u0647 \u0634\u0648\u062f :<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">ipserver indexing.google.com<\/pre>\n<p>\u0628\u062c\u0627\u06cc ipserver \u0628\u0627\u06cc\u062f \u0622\u06cc\u200c\u067e\u06cc \u0633\u0631\u0648\u0631 \u062a\u062d\u0631\u06cc\u0645 \u0634\u06a9\u0646 \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646 \u0634\u0648\u062f.\u0648 \u0628\u062c\u0627\u06cc indexing.google.com \u0622\u062f\u0631\u0633 \u062f\u0627\u0645\u0646\u0647 \u062a\u062d\u0631\u06cc\u0645 \u0634\u062f\u0647.<\/p>\n<p style=\"text-align: center;\"><strong><span style=\"font-size: 24pt;\">\u0645\u0648\u0641\u0642 \u0628\u0627\u0634\u06cc\u062f<\/span><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u062a\u062d\u0631\u06cc\u0645 \u0634\u06a9\u0646 \u0686\u06cc\u0633\u062a\u061f \u0647\u0645\u0647\u200c\u06cc \u0645\u0627 \u0686\u0647 \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0646\u0648\u06cc\u0633\u060c \u0686\u0647 \u0634\u0628\u06a9\u0647 \u06a9\u0627\u0631 \u0628\u0627 \u0645\u0634\u06a9\u0644 \u062a\u062d\u0631\u06cc\u0645 \u0634\u062f\u0646 \u0627\u0632 \u0633\u0627\u06cc\u062a \u0647\u0627\u06cc \u062e\u0627\u0631\u062c\u06cc \u0639\u0644\u06cc\u0647 \u0627\u06cc\u0631\u0627\u0646 \u0645\u0648\u0627\u062c\u0647 \u0647\u0633\u062a\u06cc\u0645 \u0648 \u0632\u0645\u0627\u0646\u06cc\u200c\u06a9\u0647 \u0642\u0635\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0633\u0631\u0648\u06cc\u0633\u06cc \u0645\u062b\u0644 \u0633\u0631\u0648\u06cc\u0633 \u0647\u0627\u06cc \u06af\u0648\u06af\u0644 \u0648&#8230; \u0631\u0627 \u062f\u0627\u0631\u06cc\u0645\u060c \u0628\u0627 &#8220;\u062e\u0637\u0627\u06cc \u06f4\u06f0\u06f3&#8243; \u0648 \u06cc\u0627 \u0628\u0627 \u067e\u06cc\u0627\u0645 &#8220;\u06a9\u0634\u0648\u0631 \u0634\u0645\u0627 \u062a\u062d\u0631\u06cc\u0645 \u0634\u062f\u0647 \u0648 \u0627\u0645\u06a9\u0627\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0627\u06cc\u0646 \u0633\u0631\u0648\u06cc\u0633 \u0646\u06cc\u0633\u062a&#8221; \u0631\u0648\u0628\u0631\u0648 \u0645\u06cc\u0634\u0648\u06cc\u0645. &hellip;<\/p>\n","protected":false},"author":1,"featured_media":402,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-396","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-domain-name-system"],"_links":{"self":[{"href":"https:\/\/behineserver.com\/blog\/wp-json\/wp\/v2\/posts\/396","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/behineserver.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/behineserver.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/behineserver.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/behineserver.com\/blog\/wp-json\/wp\/v2\/comments?post=396"}],"version-history":[{"count":1,"href":"https:\/\/behineserver.com\/blog\/wp-json\/wp\/v2\/posts\/396\/revisions"}],"predecessor-version":[{"id":550,"href":"https:\/\/behineserver.com\/blog\/wp-json\/wp\/v2\/posts\/396\/revisions\/550"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/behineserver.com\/blog\/wp-json\/wp\/v2\/media\/402"}],"wp:attachment":[{"href":"https:\/\/behineserver.com\/blog\/wp-json\/wp\/v2\/media?parent=396"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/behineserver.com\/blog\/wp-json\/wp\/v2\/categories?post=396"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/behineserver.com\/blog\/wp-json\/wp\/v2\/tags?post=396"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}