hiddify.st
EN

Where in the appSettings → Inbound

Inbound: where traffic comes in

Hiddify 5.9's inbound page explained: how far each of the four service modes reaches, choosing strict route and the TUN implementation, the proxy, transparent and redirect ports, local network sharing, the proxy secret and the password for the local proxy.

Inbound decides how Hiddify catches traffic. In VPN mode it is a virtual network adapter; in system proxy and proxy-only modes it is a port on this device. Sharing with other devices and protecting the port with a password are on this page too.

Four service modes

ModeReachPermission needed
Proxy service onlyOnly programs you point at the proxy yourselfNone
Set system proxy (computers)Programs that follow the system proxy, mostly browsersNone
VPNEvery program on this device, DNS includedAdministrator once on computers
Router (whole network, Linux)Other devices routed through this computerroot

Quick settings at the bottom of Home switches the same option.

Cranes and containers at a port: every port is a loading bay
Cranes and containers at a port: every port is a loading bay H. Zell, CC BY-SA 3.0

Strict route and TUN implementation

Both affect only VPN mode. With Strict route on, other paths in the system that bypass the virtual adapter are closed, so traffic cannot sneak out directly; the price is that some local network features may misbehave. TUN implementation has four choices, Sing 15, Mixed, System and gVisor: different ways of handling packets in the adapter, each with its own trade-off between compatibility and speed, compared in this article. If the default works, leave it.

The ports

PortPurposeWhen it is open
Proxy port (SOCKS5/4, HTTP)For programs on this device set to use a proxyProxy-only and system proxy modes; closed by default in VPN mode
Sharing portOther devices on the same Wi-Fi connect hereWhen local network sharing is on
Transparent proxy port, redirect portRouter mode and advanced Linux useUsually leave alone
Direct portFor programs that need a direct exitUsually leave alone

Sharing and the secret

With local network sharing on, phones, consoles and TVs can use your connection by setting their proxy to this device's LAN IP and the sharing port. The proxy secret is the username and password: without one, any app or device that reaches the port can use your proxy, which is dangerous on public Wi-Fi. Tap Generate new to create one.

Two more switches: Keep open in VPN mode leaves the local proxy port open in VPN mode, only for programs deliberately set to use it; Require password makes programs on this device send a password too, but programs such as browsers cannot send a SOCKS password, and it is not asked when the port is used as the system proxy.

My phone cannot connect after sharing?

Both devices must be on the same subnet; the computer's firewall must allow the sharing port; and the proxy address must be the computer's LAN IP, not 127.0.0.1.

Why is the proxy port closed in VPN mode?

In VPN mode every program already goes through the virtual adapter, and every extra open port is one more way to be abused, so it stays closed unless you turn on sharing.

Read nextChain: one more layer around your proxy