﻿{"id":736,"date":"2020-12-10T13:25:23","date_gmt":"2020-12-10T05:25:23","guid":{"rendered":"https:\/\/byy3.com\/?p=736"},"modified":"2021-02-08T19:01:38","modified_gmt":"2021-02-08T11:01:38","slug":"cloudflare%e4%bc%98%e9%80%89ip%e5%bc%80%e6%ba%90%e8%84%9a%e6%9c%ac","status":"publish","type":"post","link":"https:\/\/byy3.com\/?p=736","title":{"rendered":"cloudflare\u4f18\u9009IP\u5f00\u6e90\u811a\u672c"},"content":{"rendered":"<h1><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-737\" data-original=\"https:\/\/byy3.com\/wp-content\/uploads\/2020\/12\/2020121005231776.png\" src=\"https:\/\/byy3.com\/wp-content\/themes\/MNews%20V2.4\/images\/post-loading.gif\" width=\"1625\" height=\"571\" title=\"cloudflare\u4f18\u9009IP\u5f00\u6e90\u811a\u672c\u63d2\u56fe\" alt=\"cloudflare\u4f18\u9009IP\u5f00\u6e90\u811a\u672c\u63d2\u56fe\" \/><\/h1>\n<h1>better-cloudflare-ip<\/h1>\n<p>\u67e5\u627e\u9002\u5408\u81ea\u5df1\u5f53\u524d\u7f51\u7edc\u73af\u5883\u7684\u4f18\u9009Cloudflare Anycast IP<\/p>\n<h2><a id=\"user-content-\u4f7f\u7528\u7533\u660e\" class=\"anchor\" href=\"https:\/\/byy3.com\/go\/?url=https:\/\/github.com\/lvwuwei\/better-cloudflare-ip#%E4%BD%BF%E7%94%A8%E7%94%B3%E6%98%8E\" aria-hidden=\"true\" rel=\"nofollow\" ><\/a>\u4f7f\u7528\u7533\u660e<\/h2>\n<p>\u672c\u9879\u76ee\u4fa7\u91cd\u4e8e\u7814\u7a76\u4efb\u64ad\u6280\u672f\u4e2d\u4e22\u5305\u7387\u4e0e\u7f51\u901f\u7684\u76f8\u4e92\u5173\u7cfb\uff0c\u4ec5\u4f9b\u5b66\u4e60\u4f7f\u7528<\/p>\n<p>\u7981\u6b62\u4f7f\u7528\u8303\u56f4\u51c6\u5219\u5982\u4e0b<\/p>\n<p>a) \u76f8\u5173\u673a\u6784\u63d0\u793a\u7f51\u9875\u6709\u5a01\u80c1\u7684\uff0c\u6709\u975e\u6cd5\u4fe1\u606f\u63d0\u793a\u7684\u7f51\u7ad9\u3002<\/p>\n<p>b)\u533b\u9662\u7c7b\u578b\u7f51\u7ad9\uff08\u6d41\u4ea7\uff0c\u76ae\u80a4\u75c5\uff0c\u6027\u75c5\u7b49\u533b\u9662\uff09\uff0c\u672a\u83b7\u5f97\u536b\u751f\u90e8\u8d44\u8d28\u7684\u7f51\u7ad9\u3002<\/p>\n<p>c)\u7f51\u7ad9\u4e3b\u4f53\u5185\u5bb9\u542b\u6709\u8272\u60c5\uff08\u89c6\u9891\u4ea4\u53cb\uff0c\u4e00\u591c\u60c5\u4ea4\u53cb\uff09\u3001\u8fdd\u6cd5\uff08\u529e\u5047\u8bc1\uff0c\u8d29\u5356\u4eff\u771f\u67aa\uff09\u3001\u5c01\u5efa\u8ff7\u4fe1\u3001\u6e38\u620f\u79c1\u670d\u3001\u6e38\u620f\u5916\u6302\u3001\u7f51\u8d5a\u3001\u4e24\u6027\u3001\u7f8e\u5973\u8d34\u56fe\u548c\u52a8\u6f2b\u8d34\u56fe\uff08\u5c3a\u5ea6\u8fc7\u5927\uff09\u3001\u8d4c\u535a\uff08\u542b\u8d29\u5356\u8d4c\u535a\u5de5\u5177\u3002\uff09\u3001\u535a\u5f69\u7b49\u5185\u5bb9\u3002<\/p>\n<p>d)\u7f51\u7ad9\u5b58\u5728\u6076\u610f\u6d41\u6c13\u5e7f\u544a\uff08\u5b58\u5728\u975e\u6cd5\u5185\u5bb9\u89c6\u9891\u94fe\u63a5\uff0c\u975e\u6cd5\u7f51\u9875\u5185\u5bb9\u94fe\u63a5\uff09\u3002<\/p>\n<p>e)\u7f51\u7ad9\u5b58\u5728\u4efb\u4f55\u7834\u574f\u6216\u8bd5\u56fe\u7834\u574f\u7f51\u7edc\u5b89\u5168\u7684\u884c\u4e3a\uff0c\u4ee5\u75c5\u6bd2\u3001\u6728\u9a6c\u3001\u6076\u610f\u4ee3\u7801\u3001\u9493\u9c7c\u7b49\u65b9\u5f0f\uff0c\u8bd5\u56fe\u5bf9\u7f51\u7ad9\u3001\u7f51\u7edc\u76f8\u5173\u8f6f\u786c\u4ef6\u8fdb\u884c\u6076\u610f\u626b\u63cf\u3001\u975e\u6cd5\u4fb5\u5165\u7cfb\u7edf\u3001\u975e\u6cd5\u83b7\u53d6\u6570\u636e\u7b49\u5185\u5bb9\u3002<\/p>\n<p>f)\u7f51\u7ad9\u5185\u5bb9\u5b58\u5728\u7248\u6743\u98ce\u9669\u7684\u7f51\u7ad9\uff08\u89c6\u9891\uff0c\u5c0f\u8bf4\uff0c\u97f3\u4e50\u7b49\u7f51\u7ad9\uff09\u3002<\/p>\n<p>g)\u7f51\u7ad9\u542b\u6709\u836f\u54c1\u9500\u552e\u3001\u4fdd\u5065\u54c1\u9500\u552e\uff0c\u4f46\u672a\u53d6\u5f97\u8d44\u8d28\u7684\uff0c\u6216\u4e25\u91cd\u5938\u5927\u836f\u6548\u4e8b\u5b9e\u3002<\/p>\n<p>h)\u7f51\u7ad9\u4e3b\u8981\u4e1a\u52a1\u4e3a\u5411\u975e\u6cd5\u7f51\u7ad9\u63d0\u4f9b\u652f\u4ed8\u3001\u4ea4\u6613\u5e73\u53f0\u3001\u62c5\u4fdd\uff0c\u4ee3\u7406\u5916\u56fd\u91d1\u878d\u7406\u8d22\uff08\u7092\u80a1\uff0c\u7092\u73b0\u8d27\uff0c\u7092\u9ec4\u91d1\uff09\u7b49\u670d\u52a1\u7684\u7f51\u7ad9\u3002<\/p>\n<p>i)\u7f51\u7ad9\u4e2d\u5927\u91cf\u5b58\u5728\u5f71\u54cd\u793e\u4f1a\u548c\u8c10\u7a33\u5b9a\u7684\u5185\u5bb9\u7684\u7f51\u7ad9\uff08\u6d89\u5acc\u653b\u51fb\u56fd\u5bb6\uff0c\u653b\u51fb\u9886\u5bfc\u4eba\uff0c\u653b\u51fb\u4eba\u6c11\uff0c\u8a00\u8bba\u717d\u52a8\u6027\u8d28\u7f51\u7ad9\uff09\u3002<\/p>\n<p>j)\u7f51\u7ad9\u5185\u5bb9\u542b\u6709\u56fd\u5bb6\u76f8\u5173\u6cd5\u5f8b\u6cd5\u89c4\u4e0d\u5141\u8bb8\u7684\u5176\u4ed6\u5185\u5bb9\u3002<\/p>\n<p>k)\u7f51\u7ad9\u5185\u5bb9\u542b\u6709VPN\uff0c\u7f51\u7edc\u4ee3\u7406\u7b49\u5185\u5bb9\u3002<\/p>\n<p>l) \u901a\u8fc7\u6280\u672f\u624b\u6bb5\u6216\u975e\u6280\u672f\u624b\u6bb5\u5e72\u6270Cloudflare\u6240\u6709\u4ea7\u54c1\u6b63\u5e38\u8fd0\u8425\u7684\u7f51\u7ad9\u3002<\/p>\n<p>m)\u7f51\u7ad9\u5185\u5bb9\u4e3a\u53d1\u5e03\u865a\u5047\u4e0d\u5b9e\u6d88\u606f\u884c\u4e3a\uff0c\u6216\u4fb5\u5bb3\u4e86\u4ed6\u4eba\u7684\u5408\u6cd5\u6743\u76ca\u884c\u4e3a\u7684\u7f51\u7ad9\u3002<\/p>\n<p>n) \u83b7\u53d6\u7f51\u7ad9\u5185\u5bb9\u9700\u8981\u901a\u8fc7\u767b\u5f55\u7b49\u65b9\u5f0f\uff0c\u65e0\u6cd5\u76f4\u63a5\u67e5\u770b\u9020\u6210\u5185\u5bb9\u65e0\u6cd5\u5ba1\u6838\u7684\u7f51\u7ad9\u3002<\/p>\n<p>o) \u63d0\u4f9b\u5f71\u89c6\u3001\u8f6f\u4ef6\u548c\u5e94\u7528\u7b49\u4e0b\u8f7d\u670d\u52a1\u7684\u7f51\u7ad9\u3002<\/p>\n<h2><a id=\"user-content-linux\u7248\u672c\" class=\"anchor\" href=\"https:\/\/byy3.com\/go\/?url=https:\/\/github.com\/lvwuwei\/better-cloudflare-ip#linux%E7%89%88%E6%9C%AC\" aria-hidden=\"true\" rel=\"nofollow\" ><\/a>Linux\u7248\u672c<\/h2>\n<p>linux shell\u811a\u672c\uff0c\u81ea\u52a8\u5316\u7b5b\u9009<\/p>\n<p>\u5177\u4f53\u4f7f\u7528\u6d41\u7a0b\uff0c\u9700\u8981\u7f16\u8bd1\u91cc\u9762 fping 4.2 \u4fee\u6539\u7248\u672c\uff0c\u53e6\u5916\u9700\u8981\u7cfb\u7edf\u5b89\u88c5curl\u652f\u6301\u3002<\/p>\n<p>\u4e0b\u8f7d\u4fee\u6539\u8fc7\u7684\u6e90\u7801 fping-4.2.tar.gz \u70b9\u51fb\u4e0b\u8f7d<a href=\"https:\/\/byy3.com\/go\/?url=https:\/\/proxy.freecdn.workers.dev\/?url=https:\/\/github.com\/badafans\/better-cloudflare-ip\/releases\/latest\/download\/linux.tar.gz\" rel=\"nofollow\">Linux\u6e90\u7801<\/a><\/p>\n<p>\u5177\u4f53\u7f16\u8bd1\u4f7f\u7528\u6d41\u7a0b\u5982\u4e0b<\/p>\n<div class=\"highlight highlight-source-shell\">\n<pre>curl https:\/\/github.com\/badafans\/better-cloudflare-ip\/releases\/latest\/download\/linux.tar.gz -o linux.tar.gz\n\ntar -vxf linux.tar.gz\n\n<span class=\"pl-c1\">cd<\/span> linux\n\n.\/configure\n\nmake\n\n<span class=\"pl-c1\">cd<\/span> src\n\nsudo .\/cf.sh<\/pre>\n<\/div>\n<p>1.\u6839\u636e\u4f60\u5f53\u524d\u5e26\u5bbd\u8bbe\u7f6e\u4e00\u4e2a\u671f\u671b\u7684CF\u901f\u5ea6\u7684\u5927\u5c0f\uff0c\u6bd4\u5982\u8bf4\u5bb6\u91cc\u5bbd\u5e26100\u5146\uff0c\u5982\u679c\u60f3\u8981CF\u5355\u7ebf\u7a0b\u4e0b\u8f7d\u901f\u5ea6\u8fbe\u523020\u5146\u7684\u5bbd\u5e26\u6548\u679c\uff0c\u76f4\u63a5\u8f93\u5165\u6570\u503c 20 \u5e76\u6309\u56de\u8f66\u952e<\/p>\n<p>2.\u7b49\u5f85\u7a0b\u5e8f\u5168\u81ea\u52a8\u6d4b\u8bd5\u7ed3\u675f\uff0c\u627e\u5230\u7b26\u5408\u6761\u4ef6\u7684 IP \u4f1a\u5728\u63a7\u5236\u53f0\u7a97\u53e3\u91cc\u9762\u8f93\u51fa\u7ed3\u679c<\/p>\n<p>3.\u5982\u679c\u4f60\u5f53\u524d\u7f51\u7edc\u73af\u5883\u975e\u5e38\u5dee\uff0c\u5efa\u8bae\u8c03\u4f4e\u671f\u671b\u7684\u5e26\u5bbd\u503c\uff0c\u4e0d\u7136\u7a0b\u5e8f\u4f1a\u4e00\u76f4\u505c\u7559\u5728\u67e5\u627e\u7b5b\u9009\u7684\u8fc7\u7a0b\u4e2d<\/p>\n<p>4.\u5916\u7f6e\u7684 anycast ip \u6570\u91cf\u6839\u636e\u73b0\u6709\u53ef\u7528\u8def\u7531\u52a8\u6001\u8c03\u6574\uff0c\u6bcf\u6b21\u6d4b\u8bd5\u63d0\u53d6\u5176\u4e2d\u76841280\u5206\u4e4b1\uff0c\u8fd0\u6c14\u597d\u7684\u8bdd\u4e94\u5341\u591a\u79d2\u949f\u5c31\u80fd\u83b7\u53d6\u5230\u81ea\u5df1\u60f3\u8981\u7684\u4f18\u9009 IP<\/p>\n","protected":false},"excerpt":{"rendered":"<p>better-cloudflare-ip \u67e5\u627e\u9002\u5408\u81ea\u5df1\u5f53\u524d\u7f51\u7edc\u73af\u5883\u7684\u4f18\u9009Cloudflare Anycast [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15,1,21],"tags":[128,194,193,192,471],"class_list":["post-736","post","type-post","status-publish","format-standard","hentry","category-wordpress","category-net-security","category-script","tag-cloudflare","tag-cloudflareip","tag-js-bat"],"_links":{"self":[{"href":"https:\/\/byy3.com\/index.php?rest_route=\/wp\/v2\/posts\/736","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/byy3.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/byy3.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/byy3.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/byy3.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=736"}],"version-history":[{"count":0,"href":"https:\/\/byy3.com\/index.php?rest_route=\/wp\/v2\/posts\/736\/revisions"}],"wp:attachment":[{"href":"https:\/\/byy3.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=736"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/byy3.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=736"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/byy3.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=736"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}