NekoBoxForAndroid icon indicating copy to clipboard operation
NekoBoxForAndroid copied to clipboard

hysteria2: support userpass

Open superbarney opened this issue 1 year ago • 2 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.

superbarney avatar Apr 29 '24 11:04 superbarney

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)

zhanbao2000 avatar May 03 '24 04:05 zhanbao2000

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.

superbarney avatar May 03 '24 04:05 superbarney