在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.