Linux and macOS
Use a CLI node with local SOCKS5/HTTP gateways for workstations, development systems and automation.
Initialize and run
Section titled “Initialize and run”knotroute init --config ~/.config/knotroute/knotroute.jsonknotroute doctor --config ~/.config/knotroute/knotroute.jsonknotroute run --config ~/.config/knotroute/knotroute.jsonSOCKS5
Section titled “SOCKS5”Typical endpoint: 127.0.0.1:9477.
Applications must send the .knot hostname to the proxy instead of resolving it with public DNS first.
curl --socks5-hostname 127.0.0.1:9477 http://example.knot/HTTP proxy
Section titled “HTTP proxy”Typical endpoint: 127.0.0.1:9478.
curl -x http://127.0.0.1:9478 http://example.knot/For an always-on Linux node, run the binary as an unprivileged system service with a persistent data directory.