NETWORK & PORTS · 6 entries
Network and ports
The entry points the core opens on the local machine, the two ways of taking over traffic, and where resolution requests should go.
Local listening port
The entry point the core opens locally
The port the core listens on locally, commonly SOCKS 10808 and HTTP 10809. The browser or system points traffic at this port and the core forwards it according to routing rules; if another program already holds the port, the client fails to start and writes the reason to the log.
SOCKS5
A general-purpose proxy protocol
A proxy protocol that forwards both TCP and UDP and only passes traffic to the proxy side, without caring whether the layer above is HTTP or something else. Desktop clients usually use SOCKS5 as the local entry point for the best compatibility.
System proxy
Traffic forwarded by the operating system
The client changes the operating system proxy settings so HTTP and SOCKS requests point at the local listening port. It only covers apps that honor the system proxy; applications that read network settings themselves still connect directly, and those need TUN mode instead.
TUN mode
A virtual adapter takes over all traffic
The core creates a virtual network adapter and points the default route at it, so app traffic is taken over at the network layer and no longer depends on per-app proxy settings. The trade-off is that it needs higher system privileges, and DNS handling must be configured separately or resolution errors are likely.
FakeDNS
Trading a fake address for domain information
The core first returns a fake IP from a reserved range for a domain, then restores the domain from the mapping when the app actually opens a connection and hands it to routing rules. This lets IP-based connections benefit from domain-based split tunneling, at the cost of clearing the local DNS cache when needed.
DNS leak
Resolution requests bypassing the proxy tunnel
An app performs a DNS query before opening a connection; if that query goes out over the local network instead of the proxy tunnel, the target domain is exposed to the local resolver. The usual fixes are to specify DNS servers explicitly in the core or let TUN mode take over DNS traffic.