在Mac上使用Cloudflare WARP



如何在Mac上使用Cloudflare WARP

本分步指南將指導您完成在Mac上安裝WireGuard和Cloudflare WARP的過程

鏈接到Mac App Store中的WireGuard應用程序:
https://apps.apple.com/us/app/wireguard/id1451685025?mt=12

鏈接到舊的Python腳本:
https://github.com/554923619/cloudflare-warp-wireguard-client/blob/master/wgcf.py

(您可能需要將文件中的Api版本號更新為「 api_version =「 v0a848」)

(可選)通過Warp +帳戶支持鏈接到更新的Python腳本:
https://github.com/ViRb3/cloudflare-warp-wireguard-client/blob/master/wgcf.py

鏈接到在線Python編輯器:
https://repl.it/languages/python3

鏈接到測試Cloudflare WARP連接:
https://ipv6-test.com

另外,現在還有一個獨立版本的腳本,不需要Python。運行它的過程有所不同,您可以在此處找到有關它的更多詳細信息:
https://github.com/ViRb3/wgcf

Python腳本的全部功勞歸於:
https://github.com/ViRb3

如果您對程序有任何疑問,請隨時在評論部分提問。

36 comments
  1. hi
    i keep getting this error

    Traceback (most recent call last):
    File "main.py", line 174, in <module>
    account_data = do_register()
    File "main.py", line 87, in do_register
    response.raise_for_status()
    File "/opt/virtualenvs/python3/lib/python3.8/site-packages/requests/models.py", line 941, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
    requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://api.cloudflareclient.com/v0a848/reg

  2. currently this error
    Traceback (most recent call last):
    File "main.py", line 174, in <module>
    account_data = do_register()
    File "main.py", line 87, in do_register
    response.raise_for_status()
    File "/opt/virtualenvs/python3/lib/python3.8/site-packages/requests/models.py", line 941, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
    requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://api.cloudflareclient.com/v0a769/reg

  3. Hey man , hope you are doing alright . Are you able to help to make a tutorial for the new method ? as there is no clear explanation on the github.. doesn't need to be a video though

  4. I've got wireguard support on my keenetic router, but I can't understand how to use cloudflare warp on it… The only thing I have is the key from 1.1.1.1 iOS app…

  5. Really wish there is a work around for this on mac as I followed everything and does not work ,your assistance would be greatly appreciated

  6. Thanks for tutorial , I get this error after submit my keys in Repl IDE ,,,

    Traceback (most recent call last):
    File "main.py", line 174, in <module>
    account_data = do_register()
    File "main.py", line 87, in do_register
    response.raise_for_status()
    File "/home/runner/.local/share/virtualenvs/python3/lib/python3.8/site-packages/requests/models.py", line 941, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
    requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://api.cloudflareclient.com/v0a769/reg

    it seems CloudFlare rejects new requests. any idea?

  7. Dude, Due to my current situation I have to complete tasks on my school mac if it were my choice i would have a win10 pc. However your tutorials are extremely helpfull especially the .pkg opening video as I needed it to dowload hitfilm express video editor. You are an actuall lifesaver my man and have inspired me to start making how-to and tutorials videos on YouTube. I stopped 3 years ago due to lack of inspiration but you have inspired me with your high quality help …. wish you the best from Texas, Usa

  8. Hi, how are you .. The internet company has banned the warp service in the application and tried to run warp even after changing the IP, the application did not work, what is the solution with the dns service working but without warp

  9. Thank You so much dear Vladimir for this! I appreciate that . I use Warp+ on both ios and Android how Can I use WARP+ on Windows or OpenWRT router?! Any idea?

Comments are closed.