hiddify-next icon indicating copy to clipboard operation
hiddify-next copied to clipboard

[FR] Clash api bind address

Open papampi opened this issue 1 year ago • 5 comments

Feature description

Hi, Now it only allow connection from localhost. We have the option to change clash api port, let us have option to change bind ip as well. So it can be reachable from our other devices as well.

papampi avatar Jun 29 '24 20:06 papampi

try v2.3.1 and check if problem has been solved or not

TitanComputer avatar Sep 08 '24 07:09 TitanComputer

There is no option to change api web ui secret or access ip : Even cant access without first checking the randomly created ui secret from ...hiddify/current-config.json

image

papampi avatar Sep 08 '24 08:09 papampi

Hiddify ...hiddify/current-config.json shows its binded to 127.0.0.1 So it won't be accessible in local network and only available on localclient Also it creates random secret and it should only creates random if one is not set (When the options added for ip and secret)

  },
  "experimental": {
    "cache_file": {
      "enabled": true,
      "path": "clash.db"
    },
    "clash_api": {
      "external_controller": "127.0.0.1:16756",
      "secret": "Uwj9z6_WYt6SD_T4"
    }
  }

papampi avatar Sep 08 '24 12:09 papampi

PR welcomed

TitanComputer avatar Sep 08 '24 18:09 TitanComputer