{"id":2895,"date":"2022-06-17T13:51:46","date_gmt":"2022-06-17T05:51:46","guid":{"rendered":"https:\/\/clashandroid.com\/?p=2895"},"modified":"2022-06-17T13:51:46","modified_gmt":"2022-06-17T05:51:46","slug":"clash-for-mac-tutorial","status":"publish","type":"post","link":"https:\/\/clashandroid.com\/clash-for-mac-tutorial\/","title":{"rendered":"Clash for Mac \u7248\u4f7f\u7528\u6559\u7a0b | ClashX \u6559\u7a0b"},"content":{"rendered":"<h6 id=\"e9a696e58588e4b88be8bdbde8bdafe4bbb6e5ae89e8a385-githube4b88be8bdbd\"><img decoding=\"async\" class=\"alignnone size-full wp-image-2896\" src=\"https:\/\/clashandroid.com\/wp-content\/uploads\/2022\/06\/Clash-\u82f9\u679c\u7535\u8111Mac\u7248.png\" alt=\"Clash \u82f9\u679c\u7535\u8111Mac\u7248\" width=\"640\" height=\"360\" srcset=\"https:\/\/clashandroid.com\/wp-content\/uploads\/2022\/06\/Clash-\u82f9\u679c\u7535\u8111Mac\u7248.png 640w, https:\/\/clashandroid.com\/wp-content\/uploads\/2022\/06\/Clash-\u82f9\u679c\u7535\u8111Mac\u7248-300x169.png 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/>\u9996\u5148\u4e0b\u8f7d\u8f6f\u4ef6\u5b89\u88c5 &gt;\u00a0<a href=\"https:\/\/github.com\/yichengchen\/clashX\/releases\">Github\u4e0b\u8f7d<\/a>\u00a0<img decoding=\"async\" src=\"https:\/\/img.shields.io\/github\/v\/release\/yichengchen\/clashX?label=%20&amp;style=flat&amp;logo=github&amp;include_prereleases\" alt=\"\" \/><\/h6>\n<div class=\"hts-messages hts-messages--info  hts-messages--withtitle hts-messages--withicon \"><span class=\"hts-messages__title\">\u8bf4\u660e\uff1a<\/span>ClashX \u8f6f\u4ef6\u7248\u6743\u53ca\u540e\u7eed\u6743\u76ca\u5c5e\u4e8e\u8f6f\u4ef6\u4f5c\u8005\uff0c\u8f6f\u4ef6\u76f8\u5173\u4ecb\u7ecd\u53ca\u8bf4\u660e\u53ef\u53c2\u8003\u4f5c\u8005\u4e3b\u9875\uff1ahttps:\/\/github.com\/yichengchen\/clashX<\/p>\n<p>ClashX \u7684\u65b0\u7248\u672c\u652f\u6301\u4e00\u952e\u5bfc\u5165\u529f\u80fd\uff0c\u8bf7\u786e\u4fdd\u60a8\u5df2\u5b89\u88c5\u6700\u65b0\u7248\u7684 ClashX\u3002<\/p>\n<\/div>\n<p><span style=\"font-size: medium;\"><br \/>\n1\u3001\u4e0b\u8f7d\u597d\u540e\u5b89\u88c5\u8be5\u8f6f\u4ef6\uff08\u5982\u63d0\u793a\u6765\u5386\u4e0d\u660e\u5f00\u53d1\u8005\uff0c\u8bf7\u53bb\u8bbe\u7f6e-\u9690\u79c1\u4e2d\u5c06\u6b64APP\u4fe1\u4efb\uff09<\/span><\/p>\n<hr \/>\n<p>2\u3001\u4f7f\u7528Safari\u6d4f\u89c8\u5668\u767b\u5f55\u8fdb\u5165\u4e2a\u4eba\u4e2d\u5fc3\uff0c\u5728<strong>\u4eea\u8868\u76d8<\/strong>\u9875\u9762\u6216<strong>\u6211\u7684\u8ba2\u9605<\/strong>\u9875\u9762\u627e\u5230\u201c<strong>\u4e00\u952e\u8ba2\u9605<\/strong>\u201d\u6309\u94ae\uff0c\u70b9\u51fb\u5e76\u9009\u62e9\u201c<strong>\u5bfc\u5165\u5230Clash<\/strong>\u201d\u9009\u9879\u3002\u70b9\u51fb\u540e\u4f1a\u81ea\u52a8\u63d0\u793a\u8df3\u8f6c\u5230ClashX\u5ba2\u6237\u7aef\u3002<\/p>\n<p>\u5982\u679c\u7cfb\u7edf\u65e0\u6cd5\u81ea\u52a8\u8df3\u8f6c\uff0c\u5219\u53ef\u70b9\u51fb\u201c<strong>\u4e00\u952e\u8ba2\u9605<\/strong>\u201d\u6309\u94ae\u7684\u201c<strong>\u590d\u5236\u8ba2\u9605\u5730\u5740<\/strong>\u201d\u9009\u9879\uff0c\u5e76\u5728\u7a0d\u540e\u586b\u5165\u5230ClashX\u5ba2\u6237\u7aef\u4e2d\u8fdb\u884c\u624b\u52a8\u4e0b\u8f7d\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/wikibos.com\/wp-content\/uploads\/2022\/01\/cfw-new-01.png\" alt=\"\" \/><\/p>\n<hr \/>\n<p>3\u3001\u4e00\u952e\u5bfc\u5165\u6210\u529f\u7684\u7528\u6237\u8bf7\u76f4\u63a5\u524d\u8fdb\u5230\u7b2c6\u6b65\u3002\u65e7\u7248\u672c\u5ba2\u6237\u7aef\u7528\u6237\u9700\u8981\u8fdb\u4e00\u6b65\u624b\u52a8\u6dfb\u52a0\u6258\u7ba1\u914d\u7f6e\u5730\u5740\u3002\u524d\u5f80\u83dc\u5355\u9879\u7684<strong>\u914d\u7f6e<\/strong>\u00a0\u2013\u00a0<strong>\u6258\u7ba1\u914d\u7f6e<\/strong>\u00a0\u2013\u00a0<strong>\u8bbe\u7f6e\u5730\u5740<\/strong><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/wikibos.com\/wp-content\/uploads\/2019\/01\/clashX-1.png\" alt=\"\" \/><\/p>\n<hr \/>\n<p>4\u3001\u5c06\u7b2c2\u6b65\u590d\u5236\u7684\u914d\u7f6e\u6587\u4ef6\u6258\u7ba1\u5730\u5740\u590d\u5236\u5230URL\u8f93\u5165\u6846\uff0c\u70b9\u51fbOK\u5373\u53ef\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/wikibos.com\/wp-content\/uploads\/2022\/02\/clashX-2.png\" alt=\"\" \/><\/p>\n<hr \/>\n<p>5\u3001\u5ba2\u6237\u7aef\u5c06\u4eceBosLife API\u4e2d\u5fc3\u9a8c\u8bc1\u5730\u5740\u5e76\u4e0b\u8f7d\u914d\u7f6e\u6587\u4ef6\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/wikibos.com\/wp-content\/uploads\/2019\/01\/clashX-3.png\" alt=\"\" \/><\/p>\n<hr \/>\n<p>6\u3001\u8bbe\u7f6e\u8f6f\u4ef6\u6a21\u5f0f\u3002\u9996\u5148\u52fe\u9009<strong>\u8bbe\u7f6e\u4e3a\u7cfb\u7edf\u4ee3\u7406<\/strong>\uff08\u8f6f\u4ef6\u542f\u52a8\u751f\u6548\uff09\uff0c\u7136\u540e\u6839\u636e\u9700\u6c42\u9009\u62e9<strong>\u51fa\u7ad9\u6a21\u5f0f<\/strong>\uff0c\u5efa\u8bae\u4e3a<strong>\u89c4\u5219\u5224\u65ad<\/strong>\u5373\u53ef\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/wikibos.com\/wp-content\/uploads\/2019\/01\/clashX-4.png\" alt=\"\" \/><\/p>\n<hr \/>\n<h3 id=\"e8bf9be998b6e6938de4bd9cefbc9ae58fafe98089e799bde5908de58d95e6a8a1e5bc8fe9858de7bdaee69687e4bbb6\">\u8fdb\u9636\u64cd\u4f5c\uff1a\u53ef\u9009\u767d\u540d\u5355\u6a21\u5f0f\u914d\u7f6e\u6587\u4ef6<\/h3>\n<div class=\"hts-messages hts-messages--danger  hts-messages--withtitle hts-messages--withicon \"><span class=\"hts-messages__title\">\u6ce8\u610f\uff1a<\/span>1. BosLife\u4e0d\u63d0\u4f9b\u4efb\u4f55\u8fdb\u9636\u4ee3\u7801\u7f16\u5199\u6307\u5bfc\uff0c\u4e5f\u4e0d\u63a5\u53d7\u5173\u4e8e\u8fdb\u9636\u529f\u80fd\u7684\u5de5\u5355\u652f\u6301\u8bf7\u6c42\uff0c\u65e0\u7f16\u7a0b\u7ecf\u9a8c\u7684\u7528\u6237\u8bf7\u4e00\u5b9a\u4e0d\u8981\u64cd\u4f5c\u8fdb\u9636\u529f\u80fd\u3002<br \/>\n2. \u8fdb\u9636\u64cd\u4f5c\u4ec5\u9002\u7528\u4e8e\u5ba2\u6237\u7aefv1.72.0\u53ca\u66f4\u65b0\u7248\u672c\u3002<\/p>\n<\/div>\n<p>BosLife \u4e3a\u8fdb\u9636\u7528\u6237\u63d0\u4f9b\u4e86\u53ef\u9009\u7684\u7b80\u6613\u767d\u540d\u5355\u6a21\u5f0f\u914d\u7f6e\u6587\u4ef6\uff0c\u76f8\u6bd4\u9ed8\u8ba4\u8ba2\u9605\u914d\u7f6e\u6587\u4ef6\uff0c\u767d\u540d\u5355\u6a21\u5f0f\u914d\u7f6e\u6587\u4ef6\u7684\u533a\u522b\u6709\uff1a<\/p>\n<ul>\n<li>\u89c4\u5219\u6a21\u5f0f\u4e0b\uff0c\u5e26\u6709\u201c<strong>\u81ea\u52a8\u9009\u62e9<\/strong>\u201d\u548c\u201c<strong>\u6545\u969c\u8f6c\u79fb<\/strong>\u201d\u5206\u7ec4\uff0c\u5206\u522b\u5bf9\u5e94\u00a0<strong>url-test<\/strong>\u00a0\u6a21\u5f0f\u548c\u00a0<strong>fallback<\/strong>\u00a0\u6a21\u5f0f\uff0c\u9ed8\u8ba4 BosLife \u5206\u7ec4\u4fdd\u7559\u3002<\/li>\n<li>\u914d\u7f6e\u6587\u4ef6\u4f7f\u7528<strong>\u6df7\u5408\u7aef\u53e3<\/strong>\u6765\u4ee3\u66ff\u65e7\u7248\u672c\u7684<strong>\u4e09\u7aef\u53e3\u5206\u79bb<\/strong>\uff0c\u5373\u00a0<strong>mixed-port<\/strong>\u00a0\u4ee3\u66ff\u00a0<strong>port<\/strong>\u3001<strong>socks-port<\/strong>\u3001<strong>redir-port<\/strong>\u3002<\/li>\n<li>\u5e26\u6709\u00a0<strong>redir-host<\/strong>\u00a0\u7684\u589e\u5f3a\u6a21\u5f0f dns \u5904\u7406\uff0c\u9ed8\u8ba4\u7981\u7528 dns-ipv6\u3002<\/li>\n<li>\u9ed8\u8ba4<strong>\u767d\u540d\u5355\u6a21\u5f0f<\/strong>\uff0c\u5373\u5f53\u6240\u6709\u5206\u6d41\u89c4\u5219\u5747\u65e0\u5339\u914d\u9879\u65f6\uff0c\u9ed8\u8ba4\u8d70\u4ee3\u7406\u3002<\/li>\n<\/ul>\n<h6 id=\"e6938de4bd9ce6ada5e9aaa4efbc88e7ae80e795a5efbc89\">\u64cd\u4f5c\u6b65\u9aa4\uff08\u7b80\u7565\uff09<\/h6>\n<ol>\n<li>\u4e0a\u8ff0\u57fa\u672c\u64cd\u4f5c\u6b65\u9aa42\u65f6\uff0c\u70b9\u51fb\u201c\u4e00\u952e\u8ba2\u9605\u201d\u6309\u94ae\u7684\u201c\u590d\u5236\u8ba2\u9605\u5730\u5740\u201d\u9009\u9879\u3002<\/li>\n<li>\u4e0a\u8ff0\u57fa\u672c\u64cd\u4f5c\u6b65\u9aa44\u65f6\uff0c\u5728URL\u8f93\u5165\u680f\u4e2d\u7c98\u8d34\u81ea\u5df1\u7684\u8ba2\u9605\u5730\u5740\uff0c\u5728\u5730\u5740\u6700\u540e\u6dfb\u52a0<code>&amp;flag=clashw<\/code>\u6807\u7b7e\uff0c\u70b9\u51fb\u201cOK\u201d\u6309\u94ae\u540e\u5ba2\u6237\u7aef\u4f1a\u81ea\u52a8\u4e0b\u8f7d\u767d\u540d\u5355\u914d\u7f6e\u6587\u4ef6\uff0c\u540e\u7eed\u6b65\u9aa4\u76f8\u540c\u3002<\/li>\n<\/ol>\n<hr \/>\n<p>&nbsp;<\/p>\n<div class=\"hts-messages hts-messages--info  hts-messages--withtitle hts-messages--withicon \"><span class=\"hts-messages__title\">\u6ce8\u610f\u4e8b\u9879\uff1a<\/span>1. \u4e2a\u4eba\u4e13\u5c5e\u914d\u7f6e\u6587\u4ef6\u662f\u4f60\u4e2a\u4eba\u8d26\u53f7\u5bc6\u7801\u53ca\u8282\u70b9\u7684\u603b\u96c6\u6210\uff0c\u4e0d\u80fd\u6cc4\u9732\u7ed9\u4efb\u4f55\u4eba\u53ca\u7f51\u7edc\uff0c\u4ee5\u9632\u6b62\u4ed6\u4eba\u4f7f\u7528\u53ca\u77e5\u6653\u4f60\u7684\u5bc6\u7801\u3002<br \/>\n2. \u5efa\u8bae\u5b9a\u671f\u624b\u52a8\u66f4\u65b0\u6216\u8005\u8bbe\u7f6e\u6210\u542f\u52a8\u65f6\u81ea\u52a8\u66f4\u65b0\u8ba2\u9605\uff0c\u5373\u53ef\u4fdd\u6301\u4e0e\u670d\u52a1\u5668\u540c\u6b65\u66f4\u65b0\u3002<br \/>\n3. ClashX\u5982\u679c\u51fa\u73b0BUG\u8bf7\u8054\u7cfb\u8f6f\u4ef6\u4f5c\u8005\uff0cBosLife\u65e0\u6cd5\u89e3\u51b3\u5ba2\u6237\u7aef\u5c42\u9762\u95ee\u9898\u3002<\/p>\n<p>\u539f\u6587\uff1ahttps:\/\/wikibos.com\/index.php\/kb\/clashx\/<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u9996\u5148\u4e0b\u8f7d\u8f6f\u4ef6\u5b89\u88c5 &gt;\u00a0Github\u4e0b\u8f7d\u00a0 \u8bf4\u660e\uff1aClashX \u8f6f\u4ef6\u7248\u6743\u53ca\u540e\u7eed\u6743\u76ca\u5c5e\u4e8e\u8f6f\u4ef6\u4f5c\u8005\uff0c\u8f6f\u4ef6\u76f8\u5173\u4ecb\u7ecd\u53ca\u8bf4\u660e\u53ef\u53c2\u8003\u4f5c\u8005\u4e3b\u9875\uff1ahttps:\/\/github.com\/yichengchen\/clashX ClashX \u7684\u65b0\u7248\u672c\u652f\u6301\u4e00\u952e&#8230;<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[47],"tags":[273,275,274,142],"topic":[],"class_list":{"0":"post-2895","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-latest","7":"tag-clash-mac-","8":"tag-clashx-","10":"tag-mac-clashx-"},"_links":{"self":[{"href":"https:\/\/clashandroid.com\/wp-json\/wp\/v2\/posts\/2895","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/clashandroid.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/clashandroid.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/clashandroid.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/clashandroid.com\/wp-json\/wp\/v2\/comments?post=2895"}],"version-history":[{"count":0,"href":"https:\/\/clashandroid.com\/wp-json\/wp\/v2\/posts\/2895\/revisions"}],"wp:attachment":[{"href":"https:\/\/clashandroid.com\/wp-json\/wp\/v2\/media?parent=2895"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/clashandroid.com\/wp-json\/wp\/v2\/categories?post=2895"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/clashandroid.com\/wp-json\/wp\/v2\/tags?post=2895"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/clashandroid.com\/wp-json\/wp\/v2\/topic?post=2895"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}