Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Waterwall multi port #161

Open
id1nxd opened this issue Aug 12, 2024 · 2 comments
Open

Waterwall multi port #161

id1nxd opened this issue Aug 12, 2024 · 2 comments

Comments

@id1nxd
Copy link

id1nxd commented Aug 12, 2024

سلام روزت بخیر علیرضا
تونل واتروال نمیشه مولتی پورت زد

2024-08-12 08:08:59.804 FATAL JSON Error: TcpConnector->settings->port (number field) : The vaule was empty or invalid
2024-08-12 08:08:59.804 FATAL NodeManager: node startup failure: node ("output") create() returned NULL handle
این ارور چجوری میده؟

@radkesvat
Copy link
Owner

توی json پورت رو احتمالا "443" دادید ؛ باید عدد خالی بدید 443 بدون "

@id1nxd
Copy link
Author

id1nxd commented Aug 15, 2024

#kharej
{
"name": "simple_multiport_hd_server",
"nodes": [
{
"name": "input",
"type": "TcpListener",
"settings": {
"address": "0.0.0.0",
"port": 443,
"nodelay": true
},
"next": "halfs"
},
{
"name": "halfs",
"type": "HalfDuplexServer",
"settings": {},
"next": "port_header"
},
{
"name": "port_header",
"type": "HeaderServer",
"settings": {
"override": "dest_context->port"
},
"next": "output"
},
{
"name": "output",
"type": "TcpConnector",
"settings": {
"nodelay": true,
"address": "127.0.0.1",
"port": [4285,6896]
}
}
]
}
#iran
{
"name": "simple_multiport_hd_client",
"nodes": [
{
"name": "input",
"type": "TcpListener",
"settings": {
"address": "0.0.0.0",
"port": [4285,6896],
"nodelay": true
},
"next": "port_header"
},
{
"name": "port_header",
"type": "HeaderClient",
"settings": {
"data": "src_context->port"
},
"next": "halfc"
},
{
"name": "halfc",
"type": "HalfDuplexClient",
"next": "output"
},
{
"name": "output",
"type": "TcpConnector",
"settings": {
"nodelay": true,
"address": "1.1.1.1",
"port": 443
}
}
]
}

من متوجه نشدم هیچ کدوم داخل " نیست. و این کانفیگ های سرورم هست

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants