Skip to content

MASQUE

Use service-issued keys and addresses, not ordinary HTTP proxy credentials. h3-l4proxy requires its matching service and does not support UDP; set udp to false for that mode.

Node example

Merge this node into the configuration’s proxies list. Replace example addresses, identities, and credentials. If you rename Node, update group references too.

yaml
proxies:
  - name: Node
    type: masque
    server: proxy.example.com
    port: 443
    private-key: YOUR_BASE64_EC_PRIVATE_KEY
    public-key: SERVER_BASE64_PUBLIC_KEY
    ip: 10.10.0.2/32
    network: h3
    udp: true

Protocol fields

FieldHow to configure it
private-keyService-issued Base64 SEC1 EC private key in DER form, not a WireGuard key.
public-keyRemote Base64 ECDSA public key in PKIX DER form.
ip / ipv6Client tunnel addresses, optionally in CIDR form.
networkh3 or h2 for IP tunnels; h3-l4proxy selects a different forwarding mode.
sni / mtuService TLS name and tunnel MTU.
remote-dns-resolve / dnsDNS servers for destination resolution inside this outbound.

Groups and rules · Common fields · TLS · Transports

Reference: mihomo.