Skip to content

Latest commit

 

History

History
30 lines (26 loc) · 1.15 KB

README.md

File metadata and controls

30 lines (26 loc) · 1.15 KB

main steps

create a worker on cloudflare

  1. get a domain,like xxx.com
  2. add xxx.com to cloudflare
  3. create workders on cloudflare Workers & Pages
  4. hit the Quick edit button copy work_sample.js to it
  5. modify the userID at line 7 of yours
  6. add the Custom Domains,add a subdomain of yours,like v2.xxx.com
  7. wait the process,and type the v2.xxx.com/your_uuid
  8. copy the vless line to your passwall

filter the ip

  1. get the node id, type cat /etc/config/passwall
  2. edit the cf.sh,replace xxxx at line 23 of your node id
  3. get the CloudflareSpeedTest from CloudflareSpeedTest
# update tar 
opkg update
opkg upgrade tar

# get the CloudflareSpeedTest
wget https://github.com/XIU2/CloudflareSpeedTest/releases/download/v2.2.5/CloudflareST_linux_amd64.tar.gz

# unzip
tar -xzvf CloudflareST_linux_amd64.tar.gz CloudflareST 
  1. bash cf.sh and wait...
  2. use wget https://cdn.cloudflare.steamstatic.com/steam/apps/256843155/movie_max.mp4 && rm -rf movie* to test the true speed..
  3. add the task on your openwrt like 0 18 * * * bash /root/cf_start.sh > /dev/null