Comments (2)
Hi,
The script doesn't validate your template structure. If the structure is incorrect, preventing the xray service from starting, an error will occur. Otherwise, a "Fronting Error" will be displayed. For an example of a correct template structure, refer to the example below.
Note: The script will automatically substitute "PORTPORT"
and "IP.IP.IP.IP"
with the appropriate values.
{
"inbounds": [
{
"port": PORTPORT,
"listen": "127.0.0.1",
"tag": "socks-inbound",
"protocol": "socks",
"settings": {
"auth": "noauth",
"udp": false,
"ip": "127.0.0.1"
},
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
]
}
}
],
"outbounds": [
{
"protocol": "vmess",
"settings": {
"vnext": [
{
"address": "IP.IP.IP.IP",
"port": 443,
"users": [
{
"id": "201b62c5-0f84-5e61-a220-4911c0c221b4"
}
]
}
]
},
"streamSettings": {
"network": "ws",
"security": "tls",
"wsSettings": {
"headers": {
"Host": "api01.morteza.beauty"
},
"path": "/api01"
},
"tlsSettings": {
"serverName": "whateverrandomsni.morteza.beauty",
"allowInsecure": false
}
}
}
],
"other": {}
}
from cfscanner.
Thanks for answering. It would be better if script provides a warning regarding fallback to default config.
from cfscanner.
Related Issues (20)
- قابلیت تعیین پورت و کانفیگ بدون tls
- The process cannot access the file HOT 1
- DOWNLOAD had exception: One or more errors occurred. (The SSL connection could not be established, see inner exception.) HOT 1
- مشکل در اسکن نسخه ویندوز HOT 1
- اضافه کردن قسمتی برای پاک کردن آیپی رینج هایی که دلخواه اضافه کردیم
- تولید کلیپ بورد برای کپی همه نتایج موفقیت آمیز
- سلام وقت بخير زمان اسكن اين اررور نمايش داده مي شود HOT 2
- We need your expertise
- Download Error HOT 1
- مشکل اسکن در نسخه پایتون بعد از اپدیت HOT 2
- Importing IP List in Android Scanner
- python fornting timeout
- Cloudflare don't support fronting anymore HOT 3
- fronting timeout error HOT 2
- پشتیبانی از ipv6 HOT 3
- target speed in python version HOT 1
- مشکل پینگ دانلود HOT 1
- پروژه دیگه آپدیت نمیشه؟ HOT 4
- علت خطای fronting چیست
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cfscanner.