# How to Make Your Own Web Proxy with Cloudflare Workers

**URL:** <https://onehack.st/t/how-to-make-your-own-web-proxy-with-cloudflare-workers/88686>\
**Category:** Tutorials & Methods\
**Tags:** privacy, cloud-storage, tips-tricks\
**Created:** [May 28, 2020, 4:25am UTC](https://onehack.st/t/how-to-make-your-own-web-proxy-with-cloudflare-workers/88686 "2020-05-28T04:25:12Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![kerfuffle](https://onehack.st/user_avatar/onehack.st/kerfuffle/32/33308_2.png) [@kerfuffle](https://onehack.st/u/kerfuffle)\
**Post date:** [May 28, 2020, 4:25am UTC](https://onehack.st/t/how-to-make-your-own-web-proxy-with-cloudflare-workers/88686/1 "2020-05-28T04:25:12Z")

</div>

**Hello guys, today I want to show you how to make your own web proxy with Cloudflare Workers**

It’s frustrating that our ISP/region blocks some websites we want to access. There are many ways to bypass them, like VPN, proxy, DNS, et cetera. But many proxies/VPNs charge you some money (there are free options too, but we must be careful because not all of them are entirely safe)

Yesterday, I found this method and it worked 😉, website will use Cloudflare’s CDN and will be unblocked (using Cloudflare’s CDN also can boost speed like what 1.1.1.1 does)

Before we start, I want to sorry because I used my phone to screenshot.

1. Open [https://workers.cloudflare.com](https://workers.cloudflare.com)
2. Press sign up  
 ![Screenshot_2020-05-28-08-38-09-71_5ebe7ceed023e5c4dba122424f079699](https://onehack.st/uploads/default/original/3X/d/1/d1646ab808ac5b8048a3af26fba1661fbad4e313.jpeg)
3. Fill the email and password placeholder. You can use disposable email too (I pretty recommend it)
4. Use any subdomain you want
5. Verify the email
6. Press create a worker  
 ![Screenshot_2020-05-28-08-43-32-20_5ebe7ceed023e5c4dba122424f079699](https://onehack.st/uploads/default/original/3X/f/0/f0a1f0200fb271316a66cc95d8a519930dc5e7fd.jpeg)
7. You can change the worker’s name  
 ![Screenshot_2020-05-28-08-44-59-61_5ebe7ceed023e5c4dba122424f079699](https://onehack.st/uploads/default/original/3X/a/7/a74afbbeb2eca07bc5c0d8fe72b8138ff206e542.jpeg)
8. Copy the script from:  
[https://raw.githubusercontent.com/EtherDream/jsproxy/master/cf-worker/index.js](https://raw.githubusercontent.com/EtherDream/jsproxy/master/cf-worker/index.js)

Then paste it in the script editor (remove the existing script first)

 ![Screenshot_2020-05-28-08-51-08-55_5ebe7ceed023e5c4dba122424f079699](https://onehack.st/uploads/default/original/3X/f/b/fb340dbb1fe3d816876fcb48c7817add54e18dd7.jpeg)  
9. Press save and deploy, the url of the app will be displayed, press the button again  
10. You can open the app by clicking this button  
 ![IMG_20200528_085322](https://onehack.st/uploads/default/original/3X/d/5/d5d97e5880c834e91e6d6ed85201b1a21be5b9f0.jpeg)  
11. Then fill the url and press go (I don’t know what the dropdown menu means, just leave it)  
\*I use dark mode browser here, will be different with yours  
 ![Screenshot_2020-05-28-08-54-56-33_a87fd7db6caa850b517aa6fa9d2fcd0e](https://onehack.st/uploads/default/original/3X/9/8/98353680f07227f4d9fba723f1b6800f41825ee8.jpeg)

**Notes**

1. Some websites maybe still can’t be accessed
2. Cloudflare limits any worker app with 100.000 requests/day (reset everyday, UTC timezone). I don’t know how this “request” works, but please, use only for personal usage (you may exceed the request limit if many people use it)
3. If somehow you exceeded the request limit, just make a new account and a new worker app, and when the former has reset its request, you can use your former app (use more than one app so when the request limit has been exceeded, you can switch with another app you have)
4. I suggest you not to use it to open lewd sites. Not that it can’t, but… that kind of thing hurts your brain. Please stay safe by staying home, and please, stay safe by avoiding those lewd links.

That’s all guys, I hope that my tutorial works and can be useful for you 😄

Source: [https://www.51sec.org/2020/03/27/build-a-reverse-proxy-using-cloudflare-workers/](https://www.51sec.org/2020/03/27/build-a-reverse-proxy-using-cloudflare-workers/)  
(Formerly, I didn’t mention it. Sorry)

---

<div class="post-metadata">

**Author:** ![indurani](https://onehack.st/user_avatar/onehack.st/indurani/32/11305_2.png) [@indurani](https://onehack.st/u/indurani)\
**Post date:** [May 28, 2020, 5:22am UTC](https://onehack.st/t/how-to-make-your-own-web-proxy-with-cloudflare-workers/88686/2 "2020-05-28T05:22:36Z")

</div>

what is lewd links ??

---

<div class="post-metadata">

**Author:** ![kerfuffle](https://onehack.st/user_avatar/onehack.st/kerfuffle/32/33308_2.png) [@kerfuffle](https://onehack.st/u/kerfuffle)\
**Post date:** [May 28, 2020, 5:27am UTC](https://onehack.st/t/how-to-make-your-own-web-proxy-with-cloudflare-workers/88686/3 "2020-05-28T05:27:42Z")

</div>

Well, the word with 4 letters, p is the first letter, o is the second letter, r is the third letter and n is the last letter. I wanted to use that word, but it was blocked by onehack. So.. yeah, I used “lewd” instead 😅

---

<div class="post-metadata">

**Author:** ![indurani](https://onehack.st/user_avatar/onehack.st/indurani/32/11305_2.png) [@indurani](https://onehack.st/u/indurani)\
**Post date:** [May 28, 2020, 5:29am UTC](https://onehack.st/t/how-to-make-your-own-web-proxy-with-cloudflare-workers/88686/4 "2020-05-28T05:29:52Z")

</div>

ok what is the meaning of lewd ?

---

<div class="post-metadata">

**Author:** ![kerfuffle](https://onehack.st/user_avatar/onehack.st/kerfuffle/32/33308_2.png) [@kerfuffle](https://onehack.st/u/kerfuffle)\
**Post date:** [May 28, 2020, 5:31am UTC](https://onehack.st/t/how-to-make-your-own-web-proxy-with-cloudflare-workers/88686/5 "2020-05-28T05:31:34Z")

</div>

I got this from google dictionary

“crude and offensive in a sexual way.”

---

<div class="post-metadata">

**Author:** ![Michael\_Sorenson](https://onehack.st/user_avatar/onehack.st/michael_sorenson/32/17983_2.png) [@Michael\_Sorenson](https://onehack.st/u/Michael_Sorenson)\
**Post date:** [August 10, 2020, 7:44am UTC](https://onehack.st/t/how-to-make-your-own-web-proxy-with-cloudflare-workers/88686/6 "2020-08-10T07:44:28Z")

</div>

That’s a cool trick. Thanks!

---

<div class="post-metadata">

**Author:** ![LiquidGiant](https://onehack.st/letter_avatar_proxy/v4/letter/l/ba9def/32.png) [@LiquidGiant](https://onehack.st/u/LiquidGiant)\
**Post date:** [August 10, 2020, 8:03am UTC](https://onehack.st/t/how-to-make-your-own-web-proxy-with-cloudflare-workers/88686/7 "2020-08-10T08:03:36Z")

</div>

Request is each time you make a request to the URL :

- [workers.com/1.html](http://workers.com/1.html)
- [workers.com/style.css](http://workers.com/style.css)
- etc

---

<div class="post-metadata">

**Author:** ![TheJoker](https://onehack.st/user_avatar/onehack.st/thejoker/32/22660_2.png) [@TheJoker](https://onehack.st/u/TheJoker)\
**Post date:** [August 10, 2020, 8:53pm UTC](https://onehack.st/t/how-to-make-your-own-web-proxy-with-cloudflare-workers/88686/8 "2020-08-10T20:53:27Z")

</div>


