Fork this project, replace Dimitri2020007 in readme.md with your own user name before deploying, it is very important, remember!!!!
The reason for choosing not to repost to any website is to get together for a longer time. I hope you can find beautiful and interesting places outside the wall.
Since 2021.11.18, caddy will no longer be deployed, but a single deployment will be used to reduce the size of the project and improve the stability of the project. There is no guarantee that this project may be blocked.
Connection Variables | Values |
---|---|
Address |
yourAppName.herokuapp.com Cloudflare Reverse Proxy IP |
SNI |
Cloudflare Reverse Proxy Domain Name |
AllowInsecure |
false |
Port |
443 |
Host |
yourAppName.herokuapp.com Cloudflare Reverse Proxy Domain Name |
Path |
/$ID-vless |
id |
Generate using UUID generator or V2RayN/V2RayNG client generate uuidgenerator |
Flow |
none |
encryption |
none |
Transport |
ws |
Tls |
Tls must open, otherwise your network was insecure! |
Connection Variables | Values |
---|---|
Address |
yourAppName.herokuapp.com Cloudflare Reverse Proxy IP |
SNI |
Cloudflare Reverse Proxy Domain Name |
Port |
443 |
Host |
yourAppName.herokuapp.com Cloudflare Reverse Proxy Domain Name |
Path |
/$ID-trojan |
password |
Generate using UUID generator or V2RayN/V2RayNG client generate uuidgenerator |
Transport |
ws |
Tls |
Tls must open, otherwise your network was insecure! |
Client | Status |
---|---|
2dust V2RayN 2dust V2RayNG |
Ws+Tls+Flow |
OpenWrt SSRPlus |
Ws+Tls |
OpenWrt Passwall |
Ws+Tls |
QV2Ray |
Client | Support Trojan ws+tls? |
---|---|
2dust V2RayN 2dust V2RayNG |
No, Please use VLESS ws+tls |
OpenWrt SSRPlus |
Yes |
OpenWrt Passwall |
Yes |
example 1
addEventListener(
"fetch", event => {
let url = new URL(event.request.url);
url.host = "appname.herokuapp.com";
let request = new Request(url, event.request);
event.respondWith(
fetch(request)
)
}
)
example 2 (recommend)
const SingleDay = 'appname.herokuapp.com'
const DoubleDay = 'appname.herokuapp.com'
addEventListener(
"fetch",event => {
let nd = new Date();
if (nd.getDate()%2) {
host = SingleDay
} else {
host = DoubleDay
}
let url=new URL(event.request.url);
url.hostname="appname.herokuapp.com";
let request=new Request(url,event.request);
event. respondWith(
fetch(request)
)
}
)
新用户只需要修改id即可
严禁滥用,因滥用出现的所有问题本人概不负责,且用且珍惜!
本项目不宜做为长期翻墙使用。
出于安全考量,请使用cdn,不要使用自定义域名,以实现VLESS+WS+TLS或Trojan+WS+TLS。
禁止在任何网站宣传本项目!!!!
New users only need to modify the id
Abuse is strictly prohibited, I am not responsible for all problems arising from abuse, and use and cherish!
This project is not suitable for long-term use over the wall.
For security reasons, please use cdn instead of custom domain names to implement VLESS+WS+TLS or Trojan+WS+TLS.
It is forbidden to promote this project on any website!!!!