Use Cloudflare Snippets to Build Your Free Forever VPN (V2Ray, Vless,)
This post is based on Github project cf_snippets_proxy: https://github.com/jackrun123/cf_snippets_proxy
What is Cloudflare Snippets
| Free | Pro | Business | Enterprise | |
|---|---|---|---|---|
|
Availability |
No |
Yes |
Yes |
Yes |
|
Number of snippets |
0 | 25 | 50 | 300 |
|
Number of snippet subrequests |
0 | 2 | 3 | 5 |
Cloudflare Snippets are designed for fast, lightweight edge logic. The following limits apply:
| Description | All plans |
|---|---|
| Maximum execution time | 5 ms |
| Maximum memory | 2 MB |
| Maximum total package size | 32 KB |
Steps
1 Create / Sign into your own free and permanet Cloudflare account
2 Get your own free and permanent domain and added into Cloudflare
Some free domains might not have free Snippets service. You might need to try other domains.
3 Get your free js code from :https://github.com/jackrun123/cf_snippets_proxy/blob/main/snippets.js
Github project: https://github.com/jackrun123/cf_snippets_proxy/
4 Change code
Change uuid:
(Optional) Change DEFAULT_PROXY_IP: // 反向代理IP,无法访问时通过代理访问
const DEFAULT_PROXY_IP = 'bestproxy.030101.xyz:443'; // 来源:https://ipdb.030101.xyz/bestdomain/
(Optional) Change BEST_DOMAINS: // 优选域名/IP
from :
- const BEST_DOMAINS = ['bestcf.030101.xyz:443', 'japan.com:443', 'www.visa.com.sg:443', "www.visa.com.hk:443", "icook.hk:443", "icook.tw:443"]
to :
- const BEST_DOMAINS = ['bestcf.030101.xyz:443', 'japan.com:443', 'www.visa.com.sg:443', "www.visa.com.hk:443", "icook.hk:443", "icook.tw:443", 'cloudflare.182682.xyz', 'cloudflare.182682.xyz', 'speed.marisalnc.com', 'speed.marisalnc.com', 'freeyx.cloudflare88.eu.org', 'bestcf.top','cdn.2020111.xyz', 'cfip.cfcdn.vip', 'cf.0sm.com', 'cf.090227.xyz', 'cf.zhetengsha.eu.org', 'cloudflare.9jy.cc', 'cf.zerone-cdn.pp.ua', 'cfip.1323123.xyz', 'cnamefuckxxs.yuchen.icu', 'cloudflare-ip.mofashi.ltd', '115155.xyz', 'cname.xirancdn.us', 'f3058171cad.002404.xyz', '8.889288.xyz', 'cdn.tzpro.xyz','cf.877771.xyz', 'xn--b6gac.eu.org']
CloudFlare优选IP网站:
- http://ip.flares.cloud/
- https://stock.hostmonit.com/CloudFlareYes
Note: 所谓优选 IP 指的是通过有意挑选 Cloudflare 数据中心 IP 地址实现最佳连接,而不是默认使用 Cloudflare 分配的任播 (Anycast) 地址。
- (b) interfere with, disrupt, alter, or modify the Services or any part thereof, or create an undue burden on the Services or the networks (including Cloudflare’s peering partners’ networks) or services connected to the Services, including, but not limited to, causing (whether directly or indirectly) traffic for your Cloudflare-proxied domain to be sent to an IP address that was not assigned by Cloudflare for the domain;
CloudFlare 优选域名:
Note: https://www.cloudflare.com/terms/ restrictions 2.2.1:
- (f) cover or obscure any page or part of the Services via HTML/CSS, scripting, or any other means;
- (j) use the Services to provide a virtual private network or other similar proxy services
https://www.cloudflare.com/terms/
- 8. Termination of Use; Discontinuation and Modification of the Service
Videos
References
- Use V2rayN (V2ray Client) to Protect Your Online Privacy & Bypass Internet Censorship
- Create Your Own Proxy Nodes Site To Bypass Internet Censorship (Cloudflare + VLESS)
- https://github.com/jackrun123/cf_snippets_proxy
- https://ipdb.030101.xyz/bestdomain/
版权声明:
作者:zhangchen
链接:https://www.techfm.club/p/226932.html
来源:TechFM
文章版权归作者所有,未经允许请勿转载。


共有 0 条评论