Use Cloudflare Snippets to Create Free Forever V2Ray Vless Proxy Site (Fast& Permanent)
Nov 23, 2025
Cloudflare Snippet can be used to create a free but fast also permanet V2RAY Vless proxy site. You do not need to obscure the code and the deployment is super easy, copy & paste based on Github project: https://github.com/jackrun123/cf_snippets_proxy/
Related Post:
✍https://blog.51sec.org/2025/11/use-cloudflare-snippets-to-build-your.html
Related Videos:
🌟Use Cloudflare Snippets to Create Free Forever V2Ray Vless Proxy Site (Fast& Permanent) https://youtu.be/8log07W45lc
🌟Create Your Own V2Ray Vless VPN Site Through Cloudflare Worker Without Getting an Error 1101 https://youtu.be/c7H-1H6ZiJ0
🌟Use Cloudflare Worker To Generate V2ray Vless Nodes for V2rayN VPN To Bypass Internet Censorship https://youtu.be/OOwRoP_SWzk
🌟Using V2rayN with Free Online V2Ray VPN Site to Protect Your Privacy and Bypass Internet Censorship https://youtu.be/iC11DKjAGS8
🌟Using Colab or Replit to Generate SS (Shadowsocks) Server List for V2rayN (Free & Easy VPN) https://youtu.be/P9S0GdAGUNI
💖Chapters:
0:00 - Introduction
1:31 - Lets start it
3:47 - 1. Log into Cloudflare & Select Proper Domain
5:21 - 2. Create a Snippet
7:47 - 3. Create DNS record & Test
9:48 - 4. Modify UUID & Best Domains
12:46 - 5. Final Testing using V2Ray Client
Show More Show Less View Video Transcript
0:00
[Music]
0:06
Hello everyone. Welcome back to Johnny's
0:09
NASA YouTube channel. In today's video,
0:12
I'm going to show you how to use
0:15
Cloudflare snippet to create your own
0:18
proxy website or VPN website based on
0:22
this GitHub project.
0:24
Previously I have made quite a few
0:28
cloudfare related videos to create
0:32
online proxy to create the free file
0:35
sharing host inside
0:38
and how to using the email box without
0:42
VPS using the cloud flare here. There's
0:45
a quite a lot cloudfare free services
0:48
project which you can use. You can
0:51
search Cloudfare from my channel and
0:53
find it. In this video, we're going to
0:56
using the snippet and new feature come
1:00
out from Cloudfare
1:04
snippet.
1:06
If you look at the availability, it's
1:09
usually it's not available for free tier
1:11
to use. But based on my testing, some
1:15
domains already have these snippets.
1:20
So that gave us the ability to use in
1:22
this GitHub project to create our own
1:27
v2ray proxy website. And now let's jump
1:31
into it
1:36
using Cloudflare to create your own v2
1:39
vas node for your own proxy site to
1:43
bypass internet censorship.
1:46
I made this video before. Here is a
1:49
block post. It's still working if you're
1:52
using this method, but you do need to
1:55
obscure your code. The new method will
1:59
be relating to use snippets which we
2:02
just mentioned. Some of the cloudare
2:05
users does have you can check your
2:07
domain if you actively using it to
2:10
develop your own free usage, free
2:13
project using cloudfare workers or
2:16
pages. So now most likely the snippet is
2:20
available for you to use as well. If you
2:23
didn't find on your domain then you can
2:25
check other domain. I do need to mention
2:28
the policy here. If you look at the
2:31
cloudfare self service subscription
2:33
agreement their terms it's not allow
2:38
user to create the proxy services. It's
2:41
not allow you to secure your pages or
2:44
any part of service via the code. Even
2:48
it's still working the method here still
2:51
working. You can use the method here to
2:54
show but you have to obscure which is
2:57
already violating the use of services.
3:01
It's your own risk. So I let what I want
3:04
to put in here. Same thing. Even this
3:06
method kind of still violating their
3:09
usage. But based on lots of users
3:12
feedback and my own testing, it seems uh
3:16
okay. As long as you are not abusing to
3:19
use it for your personal use, it should
3:22
be okay. Don't public release it on
3:25
internet. Gave everyone to access your
3:28
proxy sites to use. So we will talk
3:32
about when we are putting the code in we
3:34
need to change the UYU ID to make sure
3:36
you can hide it just use by yourself.
3:39
Now let's go to Cloudfare and starting
3:42
to deploy the code snippets JS to our
3:46
CloudFare snippet.
3:51
The steps are very simple here just four
3:55
steps. uh we may using same steps from
3:58
this project and we may add a little bit
4:01
more in here modify it to make it uh
4:05
more powerful and also connect to your
4:07
domain. So now let's go to the cloudfare
4:13
here. So under my account I have
4:16
different domains. So as I mentioned not
4:19
all domains has this snippet like this
4:23
domain. No I don't have it. So but I do
4:27
know
4:29
one of my domains works. So we just need
4:32
to find out the right domain and use it.
4:36
So I have this domain itack.com.
4:39
This domain
4:42
it's also on the free plan but snippet
4:47
feature is already available for me. So
4:51
same thing for you. You need to find out
4:52
the domain which you have snippet this
4:56
feature on the lur.
4:58
If it's not available then try to use
5:02
your domain more actively creating some
5:04
project just as I show you in my video
5:08
channel. Find out some project and then
5:11
using it create something there and
5:13
eventually they're going to release a
5:16
snippet to that domain. Now let's create
5:19
a snippet from here.
5:25
If your domain does have a snippet this
5:29
feature enabled, then you should be able
5:31
to get this create snippet button. To
5:34
create a snippet is uh very simple. You
5:38
just need to create uh by default they
5:41
have some default code there. We can
5:45
completely remove it. What we need is go
5:48
back to original project here. Uh it
5:52
might be in Chinese. Uh you can
5:54
translate to English. Uh but what we
5:57
need is just snippets.js.
5:59
This this file. Um they made some
6:02
Chinese inside. You can do same
6:05
translate to English.
6:11
After that, you can just uh select
6:14
all in here. Just drag it down. At the
6:18
end, you may see it's not select all,
6:21
but actually everything is selected.
6:24
Ctrl C to make sure you select all here.
6:29
Even it's not look like that way, but
6:31
still everything has been selected.
6:34
As you can see, all here you want to
6:38
give it the name. I gave a snippet as a
6:41
name. Um if you want to do deploy they
6:44
will ask you to create filter
6:46
expression. So basically what we going
6:50
to do here we going to create one. We
6:52
don't need for incoming request. We can
6:54
just uh using host name wild card. Um we
6:59
going to using snippet dot this domain.
7:02
This subdomain we're going to create for
7:04
it. So the domain is here but we put the
7:08
subdomain here. Just make sure anything
7:11
coming for snippet.
7:14
They're going to run this snippet.
7:17
Okay. Then that's good to deploy.
7:21
Well,
7:23
just ignore it's active now. You can
7:27
modify it. You can change it, disable
7:29
it. We can start and test it. And we can
7:32
put the snippet. sec.com here but it
7:36
won't come back to anything because we
7:38
haven't have this record in our DNS. So
7:42
our next step is going to creating DNS
7:46
record for it.
7:51
So as mentioned we don't have DNS record
7:54
for snippet proc.com which we created
7:59
the rule for it for our snippet this
8:02
project. Uh let's go to the DNS record.
8:05
We going to add a new record, a record.
8:10
Um IPv4 address. Usually I put the
8:13
8.8.8.8
8:15
or that's Google DNS. You also can put
8:17
um something called 192.06.1
8:23
which is also not routable IP address,
8:27
private IP address. For me, I usually
8:30
put 80.8.8.8. eight in there and then uh
8:34
what you need to do is just save.
8:37
Now we have this record. We can try it
8:39
again.
8:41
You will get success. But how we going
8:44
to get our process settings all those uh
8:49
vas record? Then we need to go back to
8:52
the code.
9:03
We're going to use in this UU ID.
9:10
So letter U ID which you can use it to
9:14
generating your proxy configuration and
9:17
import into your V2 array client and
9:22
then connect to it. But for next step,
9:24
I'm going to show you to make some small
9:27
changes, something change the settings
9:30
for UIU ID because the UU ID is supposed
9:32
to be only you. Now, if you're using the
9:36
this common UU ID in the code, then it's
9:39
most likely will be guessed by someone
9:41
else. Then they will use your proxy
9:44
settings to go to internet, which can be
9:46
causing an issue in the future.
9:53
Now, let's go back to our originally
9:56
code. There's a couple settings you may
9:58
want to change.
10:00
One is UU ID.
10:03
Another one is best domains. Um, when
10:07
you go back to original GitHub,
10:10
um, you do see this UU ID here. uh what
10:14
we can do is we can generate our own U
10:17
ID because you don't want other people
10:21
to go to list your domain and with the
10:24
same UU ID which you know everybody
10:27
knows in the code. So if we want to
10:29
using some online UU ID generator you
10:33
can generate in certain UYU ID or you
10:35
can create your own UU ID. Um which
10:41
you can use um usually you can go to
10:45
your code here.
10:50
So you just change it for me.
10:53
I'm going to change it to a simple one
10:56
which is the one.
10:59
You have eight ones at the beginning
11:02
then hyphen three four ones and then at
11:06
the end 12 ones. So in that way it's
11:08
much easy to remember for is your your
11:11
own u ID. You can use that.
11:15
That's one change. Another thing is best
11:17
domains. The reason why you use invest
11:20
domains because that may give us faster
11:22
connections.
11:24
You can use default cloudfare provided
11:29
uh IP which is any cast IP. Uh you also
11:32
can use some your selected best domain
11:37
or best IP which I'm going to show you
11:39
that in the next section. Um but the but
11:43
for that part for this part change we're
11:46
going to go to my blog post and I'm
11:49
having quite a few list for those good
11:53
domains you want to use and uh if you
11:56
don't want to
11:58
modify by yourself just copy my list one
12:02
I put quite quite a few them together
12:04
here um what you can do is you just need
12:08
to paste in
12:12
next line here and remove remove that
12:15
line and then save changes. Uh now let's
12:20
check it. So right now this won't work
12:23
anymore but uh if we change it to the
12:27
111s
12:30
let's refresh. So the 111s. So we're
12:32
going to get much more configuration
12:35
because we added much more best domains
12:38
for us to select to use. Now next step
12:42
is going to be using the v2 client to
12:45
connect to it.
12:50
So we have our cloud player VPN kind of
12:54
proxy size set it up and now we need a
12:57
client to connect to it. So in my
12:59
previous video I already made one to use
13:03
curfe worker to generate V2 vas node for
13:07
V2NVPN to bypass internet censorship.
13:10
It's the same thing. You can download
13:13
this free V2 ray and to use just go to
13:17
download link. You should be able to get
13:20
um this self-contained Windows 64bit
13:23
client zip file. Download it and then
13:27
double click to launch it just like what
13:29
I'm doing here. Once you have this
13:32
ready, just make sure you have clear
13:34
system proxy. So don't use proxy yet
13:37
until you have since ready then you can
13:39
set up system proxy. Um we going to go
13:42
back to our site. We're going to copy go
13:46
to this v2 and client paste in just
13:50
control we paste and then you should be
13:52
able to get all the settings. Maybe have
13:56
one this is that the port is not set
13:59
correctly. They may want to change it to
14:01
4.3. So then we can make a test in
14:05
there. So all been set up and before we
14:08
can use those address to connect to it.
14:13
Let's test it. Let's do one click multi-
14:16
testing.
14:19
So not all of them is responsible or we
14:23
can connect some minus one. So this
14:26
looks like a best so far. HK
14:30
or might be CF-090227.xyz
14:37
before we can switch to set system proxy
14:40
we want to to get uh our current IP
14:46
here. So let's my current IP
14:52
that's a switch here. So now we're going
14:55
to make a connection to this one.
15:01
It's pretty good connection.
15:04
Let's just set as active configuration.
15:07
It's connecting.
15:10
Now we set system proxy.
15:14
Then everything you can see everything
15:16
go through the local host IP and then
15:19
those port and then connecting to proxy
15:23
side.
15:25
Since we connecting to we can refresh
15:28
this IP website to find out what IP we
15:31
are using. Um so since we are using
15:34
cloud fire network uh the closest one to
15:38
that ip. SP this destination going to be
15:41
Singapore.
15:43
So they get it out from the Singapore
15:46
ISP and then we go to that IP and then
15:49
let me connect to IP.SP at the website.
15:52
Um we going to do a speed testing.
16:00
So now it's around 200 a little bit
16:03
more. 270
16:06
to 80
16:09
Mac BPS. Not too bad.
16:13
So uploading probably similar 260
16:17
270 around that.
16:22
So that's the speed when we using a
16:25
proxy that's a real speed. So which is
16:28
still pretty good uh 200 more than 200
16:31
meps.
16:33
So that's pretty much for this video
16:36
which shows you how to bypassing your
16:39
local internet censorship or how to
16:43
bypassing restriction which is IP
16:46
restriction you may facing using
16:49
cloudfare snippet to set up your own
16:52
proxy site. Hope you enjoyed this. Thank
16:55
you for watching. If you like it, give
16:56
me thumb up and subscribe my channel to
16:59
support me. See you in my next one.
17:07
[Music]
17:11
My baby my up my
17:17
up my up.
