dsh-access-gateway: Add a LAN entry point for DSH Web GUI
miiy/dsh-access-gateway is a DSH client bundle that adds LAN access for a Web GUI listening exclusively on loopback. It launches a password-protected gateway on port 3081; upon successful login, it performs a 302 redirect to the loopback GUI while carrying the current process's launch token, so mobile devices and other terminals do not need to interact with the token directly. It performs validation only on the first request header of the connection and then forwards traffic byte-by-byte as a pipe, ensuring that keep-alive and WebSocket connections work normally. Upon startup, it registers the listening address in the Host's accepted-authority list, requiring no additional startup parameters. Configuration is centralized in the "Access" section of the Web GUI Settings, supporting address, port, session duration, and password. The password is stored as a scrypt hash, and cookies are signed with a local key and persist across Host restarts. The author explicitly states that this uses unencrypted HTTP and is intended only for trusted networks, containing no TLS, tunneling, or QR code features. Before installation, one should read the source code and license (MIT), as the plugin runs with the current DSH process permissions and can read the launch token. The directory page and repository link are provided at the end of the text.
Read More