Skip to content

Helper on Linux and runtime diagnostics ​

For Linux / NAS, use the public container image ghcr.io/pickrui/oixcloud-external-proxy-program:latest. It supports linux/amd64 and linux/arm64 and requires Docker Engine and Docker Compose. The -amd64, -arm64 and -legacy files on GitHub Releases are macOS executables, not standalone Linux programs.

Validate before starting ​

oixCloud Helper · Run and diagnose Helper on Linux or Docker
Interface simulation based on the maintained version · Fictional data

Follow the public Docker guide for compose.yaml, config.example.json and the custom rules file. Copy the example to config.json. Set accessToken to the full Access Token shown when you create it, or use email and password. Set LAN credentials separately. Allow container UID/GID 10001 to read the file and restrict other users’ access.

In the Compose directory, run:

sh
docker compose pull
docker compose run --rm --no-deps helper --check-config --config /config/config.json
docker compose run --rm --no-deps helper --diagnose-config --map --listen 127.0.0.1:6172 --config /config/config.json
docker compose up -d
docker compose ps

Confirm success before proceeding to each command. Configuration checks return 0 for success or 2 for configuration problems, without signing in. Port diagnostics briefly bind and release ports inside the temporary container; they do not check host port conflicts, upstream connectivity or the firewall. Verify container status and a real connection after startup.

The published Compose exposes ports on all host interfaces by default. Configure LAN authentication and restrict the firewall before starting; for local use only, bind the host side of ports to 127.0.0.1. Also review every fixed listeners address, if configured.

The container loads managed nodes after it starts, without device approval. The first sign-in sends a new-device alert to your account; see New devices and sign-in alerts.

Read back runtime status ​

With the process running, use another terminal:

sh
curl --fail http://127.0.0.1:6172/health
curl --fail http://127.0.0.1:6172/status

ok from /health only means the HTTP service is alive. /status reports version, mode, uptime, last refresh, node/mapping counts, readiness and binding errors. ready does not prove every upstream node works, and reading status does not refresh subscriptions.

Where to choose nodes and set rules ​

  • Choose a node. The published Compose setup uses multi-port mapping. Open a Select group in the client using the mappings and pick the mapped node. An app using a fixed port uses that port's node. For fixed listeners, check the listener-to-node mapping.
  • Route a website. If you import the Surge profile generated by Helper, add the rule to the file mounted at /config/custom.conf in Compose, save it, then fetch the profile again in the client. If you only import a node list, configure rules and groups in the receiving client.
  • Use multiple hops. For a managed relay, eligible accounts can configure an internal relay and select the entry node in the receiving client. Revisit the destination and check its matched rule and exit there.

Verify the app using the proxy ​

Set the receiving app to use the host address and a published proxy port, then open a website. The default port 6172 serves configuration and status. For device-wide capture, routing modes or website DNS, configure the client handling that device’s traffic, such as FlClash for oixCloud or Surge Mac. Check the new request and exit in that client.

Container checklist ​

↔ Swipe left or right to see all columns

ItemRequirement
ConfigurationMount at /config/config.json, preferably read-only; container UID/GID 10001 must be able to read it.
StatePersist /data and make it writable by that user.
SubscriptionPublish the actual HTTP port, 6172 by default.
ProxyPublish fixed TCP listener ports or the actual automatic mapping range. Publishing only 6172 cannot forward proxy traffic.
UDPConfigure udpPortRange and publish the same UDP port numbers.
NAT / bridgeSet udpAdvertiseAddress to a host IPv4 address reachable by clients; this changes advertisement, not binding or port publication.
Health checkUpdate OIXCLOUD_SERVE_PORT if the HTTP port changes.

Configure LAN authentication before non-loopback access. Subscription and proxy listeners are separate (--listen and --bind in the CLI); also check fixed-listener addresses. Limit published host addresses and firewall scope to the LAN access you need.

Filters and troubleshooting ​

  1. In Subscription Management, edit the URL the container actually uses, or change the filter in macOS Helper using that same URL. For a manually created Access Token, check its subscription binding.
  2. Save, then fetch the local profile or node list again in the client using Helper. Repeated requests can reuse a successful result for 30 seconds. Mapping mode also refreshes periodically in the background.
  3. Read lastSuccessAt, nodeCount and mappingCount under /status, then connect through a retained node. Reading status shows the last result.

↔ Swipe left or right to see all columns

SymptomCheck
Configuration check failsField format, port ranges and paths; retain the original error.
HTTP works but no mappingsAccount/plan, retained nodes, listeners: [], exact fixed node names and port conflicts.
Non-loopback /status returns 403Configured LAN authentication and supplied credentials.
TCP works but UDP failsUDP publication, advertised address, firewall and client reachability.
Node DNS or TLS failsCurrent DNS, system time, captive portal and full error; do not bypass certificate validation.

Reports should include version, launch method, mode, port-check results and a status summary, without a credential-bearing configuration file.

Illustration

Scroll to inspect details · Pinch to zoom further