Skip to content

AsteriskNG ​

AsteriskNG is a client built on the Xray core and centered on a server list: every server can be edited and shared individually, then combined through subscription groups, strategy groups, proxy chains, and routing rules.

The bottom navigation has four tabs: Proxy, Routing, Apps (per-app proxy, see Common features), and Settings.

Subscription groups ​

Subscriptions are managed in Settings → General → Group management. A group can be:

  • a subscription group: has a subscription URL, and the app fetches servers from it periodically;
  • a manual proxy server group: no URL, used to hold servers you add yourself.
FieldNotes
Group nameIf left empty, named automatically after the first sync
Subscription URLMay be empty for manual groups. A warning is shown for plain-HTTP URLs
Auto update interval (hours)At least 0.25 hours
User-Agentv2rayNG, Clash Meta, or custom; some providers return different formats depending on it
HWIDReports a device identifier to providers that limit the number of devices
Mihomo Age secret keyDecrypts subscriptions encrypted with Age
Update via proxyRequests the subscription URL through the local proxy — useful when the URL itself is blocked

The Share subscription group menu on a group card can show a Subscription QR code, Copy subscription link, copy the share links of every server in the group, or Export links to file. Only the subscription URL itself is shared; the User-Agent, HWID, and Age secret key are not exported.

Tap Update subscriptions in the overflow menu of the Proxy page to update all subscription groups. With multiple groups, enable Enable "All" group in settings to show a combined group at the top of the server list.

Server list ​

The Proxy page lists the servers of the current group. Tap a server to select it, then tap Start proxy; tap again while running to Stop proxy.

The page's overflow menu offers:

  • Handshake latency test: measures handshake latency to the server without going through the full proxy path.
  • Real connection test: sends a real request through the server — a better indicator of whether it actually works.
  • Layout (single / double / multiple columns) and Sort (default / latency / name).
  • Search servers, Copy all server URLs.
  • Delete duplicate proxy servers, Delete invalid proxy servers, Delete all proxy servers.
  • Restart service: apply manual server edits to the running service right away. When a subscription update changes the server in use (including any server a selected chain or strategy group resolves to), or a resource update succeeds, the running service restarts automatically to apply it.

Use the buttons / menu on a server card to edit, share, or delete it. Sharing options are Share URL, QR code, and Full JSON.

Adding servers ​

Tap the add button and choose Scan QR code, Import from clipboard, Import from file, or Manual input for one of these types:

TypeNotes
VLESS / VMess / Trojan / ShadowsocksCommon proxy protocols with RAW, XHTTP, WebSocket, gRPC, HTTPUpgrade, mKCP transports and TLS / REALITY
Socks / HTTPUpstream SOCKS5 / HTTP proxies
Hysteria2Bandwidth settings, port hopping, and salamander obfuscation
WireGuardKeys, local address, MTU, Reserved, and more
MASQUEIP proxying over HTTP, with optional WARP settings
CustomPaste Xray JSON (a full config or outbounds only); optionally Override inbound and DNS settings to use AsteriskNG's inbound and DNS instead. See Xray configuration · Custom servers for the rewrite rules
Strategy groupSee below
Chain proxySee below

The editor validates each field. If some items fail full validation, you can Return to edit or Continue saving (the configuration may not work).

Strategy groups ​

A strategy group picks an outbound automatically from a set of servers:

  • Strategy group type: Least ping, Least Load, Random, Round robin.
  • Subscription group: where the servers come from — one group or All groups.
  • Remarks regex filter: filter servers by name with a regular expression, e.g. Hong Kong|HK.
Core implementation

A strategy group becomes a balancer in Xray's routing.balancers, with type leastPing, leastLoad, random, or roundRobin. "Least ping" relies on observatory for periodic probing; "Least Load" relies on burstObservatory, which weighs both latency and stability. See Xray configuration · How servers become outbounds.

Proxy chains ​

A proxy chain sends traffic through several servers in order (Proxy chain members, at least two), for example relay server → exit server. The list shows the number of hops.

Core implementation

Each member becomes an outbound, and each later hop's streamSettings.sockopt.dialerProxy points to the previous hop, so the later hop's connection is made through the previous one.

Routing rules ​

The Routing page manages Xray routing rules, deciding whether each connection goes to Proxy, Direct, or Block.

Each rule can combine these conditions:

ConditionExamples
Domain rulesdomain:example.com, geosite:cn
IP rules1.1.1.1, 10.0.0.0/8, geoip:cn
Port443, 1000-2000
Network typetcp, udp
Protocol typee.g. http, tls, bittorrent (requires sniffing)
Process rulesMatch the app process that opened the connection

When editing a rule, use the menu next to Outbound proxy tag to choose Proxy, Direct, Block, a server, or a strategy group. If you know the tag, you can enter it directly, for example direct.

  • The menu in the top-right of the title bar sets the Default outbound proxy tag (used when no rule matches); the current value is shown under the title.
  • Domain policy at the top of the list selects the Domain strategy.
  • Rules are matched top to bottom in list order. Drag to reorder, and toggle individual rules on or off.

Use Import from clipboard / Export to clipboard to move rules in bulk; when importing, choose to merge or replace.

geosite / geoip

geosite: and geoip: rules rely on resource files. Switch between Loyalsoldier, V2Fly, Chocolate4U, RunetFreedom, and other sources in Settings → General → Resource management.

To see how rules are written into the Xray config and which domain forms are supported, read Xray configuration · Writing routing rules.

Core settings ​

DNS settings ​

SettingNotes
Enable DNS hijackingLet the core handle DNS requests
FakeDNS and FakeDNS poolAssigns virtual IPs to domains for faster connections and domain-based routing
Direct DNS and Direct DNS domainsWhich domains are resolved by the direct DNS
Use direct DNS to resolve proxy serversResolve the proxy servers' own domains with direct DNS
Proxy DNSDNS servers queried through the proxy
DNS hostsStatic entries, format: domain:address1,address2
Resolve proxy server domainsWrite proxy server IPs into DNS hosts

Sniffing, Mux, and Fragment ​

  • Sniffing: detects HTTP / TLS target domains to assist routing; with routeOnly on, sniffed domains are used for routing only and do not rewrite the destination.
  • Mux: connection multiplexing. Can lower latency but may cause stalls — use with care. Set TCP concurrency, XUDP concurrency, and QUIC handling (multiplex / native / reject) separately.
  • Fragment: splits early TCP traffic; enable only when needed. Set Fragment mode, Fragment length, and Fragment interval.
Core implementation
  • FakeDNS maps to Xray's fakeDns pool: DNS queries get a virtual IP from the pool, which the core maps back to the domain when connecting, so routing can match by domain.
  • Sniffing maps to the inbound's sniffing; with routeOnly set to true, sniffed results are used for routing only and do not replace the destination.
  • Mux is written to the server outbound's mux field: concurrency, xudpConcurrency, xudpProxyUDP443.
  • Fragment adds a freedom outbound tagged fragment, and servers dial through it via sockopt.dialerProxy.

Logs ​

Log level controls how verbose the core log is. With Record access logs on, see where each connection went under Settings → Logs → Access logs.

Advanced settings ​

  • IPv6: enable IPv6 support; IPv6 preferred makes connections prefer IPv6 addresses.
  • Broadcast control: lets other apps control the service via broadcasts; see Automation & control.