MatsuriDayo / NekoBoxForAndroid

NekoBox for Android / sing-box / universal proxy toolchain for Android

Home Page:https://matsuridayo.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hysteria2: support userpass

superbarney opened this issue · comments

Description suggestions

hysteria2 supports multiple users with their own individual passwords but NekoBox doesn't seem to allow the input for users

Necessity of recommendations

Is userpass currently supported and I'm doing it wrong?
Thanks.

If you set userpass on your server like this:

auth:
  type: userpass
  userpass:
    user1: pass1
    user2: pass2

You should fill in user1:pass1 in your password field.

This works in my version (1.3.0)

I did not change the auth type from "password" to "userpass" in hysteria2's server configuration.
I can confirm it works after switching auth type to "userpass".

Thank you.