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

Detailed settings of Multiplex in subscription link(json) #257

Closed
lonelylose opened this issue Aug 4, 2024 · 6 comments
Closed

Detailed settings of Multiplex in subscription link(json) #257

lonelylose opened this issue Aug 4, 2024 · 6 comments
Labels
enhancement New feature or request to check To check if any solution will help

Comments

@lonelylose
Copy link

lonelylose commented Aug 4, 2024

Thank you for your project. I can finally use sing-box more comfortably. Now only some details of the multiplex part can be set in inbound page(client side). Although the multiplex part is relatively simple, I hope this detailed option can be added. Thank you.

@lonelylose lonelylose added the enhancement New feature or request label Aug 4, 2024
@alireza0
Copy link
Owner

alireza0 commented Aug 6, 2024

Which part of mux do you want to be added ?
All possible configuration are exist now.

@alireza0 alireza0 added the insufficient information More information needed label Aug 6, 2024
@lonelylose
Copy link
Author

Outbound‘s part:
{
"enabled": true,
"protocol": "smux",
"max_connections": 4,
"min_streams": 4,
"max_streams": 0,
"padding": false,
"brutal": {}
}

Now the outbound multiplex only has:

"multiplex": {
"enabled": true
},

@alireza0
Copy link
Owner

Are you sure?
image

@alireza0 alireza0 closed this as not planned Won't fix, can't repro, duplicate, stale Aug 12, 2024
@lonelylose
Copy link
Author

Apologies for not being clear initially. Let me clarify my request. The program generates a JSON subscription file with the "http://1.1.1.1:2096/sub/xxxxxxx?format=json" link. However, the generated JSON only includes "multiplex": { "enabled": true }. The issue seems to be related to the "client side" settings in the inbound section of the program. Specifically, the missing details related to multiplex, such as "protocol": "h2mux", "max_connections": 4".

Checking the frontend/src/layouts/modals/Inbound.vue file to add the necessary configuration may help this, I am not familiar with this, sorry. This way, the client should correctly use the generated JSON subscription link.

@alireza0 alireza0 reopened this Aug 13, 2024
@alireza0
Copy link
Owner

Okay, I will take a look.

@alireza0 alireza0 added to check To check if any solution will help and removed insufficient information More information needed labels Aug 13, 2024
@lonelylose lonelylose changed the title Detailed settings of Multiplex in json mode Detailed settings of Multiplex in subscription link(json) Aug 13, 2024
alireza0 added a commit that referenced this issue Oct 22, 2024
@alireza0
Copy link
Owner

I have removed automatic multiplex config for inbounds and add separated client side multiplex configuration in client side configuration.

Please build the codes or wait for new release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request to check To check if any solution will help
Projects
None yet
Development

No branches or pull requests

2 participants