COMMANDORY HOME RELAY, WINDOWS x64

1. Extract the complete ZIP to a normal folder and double-click commandory-relay.exe.
2. On first launch, choose the LAN address connected to your home Wi-Fi/Ethernet.
   The selection is remembered while that address is still available.
3. A setup page opens on this PC. Use its buttons to trust the certificate for
   your Windows user and, if needed, add a Private-network/local-subnet Windows
   Firewall rule. Firewall setup asks Windows for administrator approval.
4. Scan the QR code from each phone/tablet, or visit the printed device setup URL.
   This local HTTP page explains how to install and trust this relay's certificate.
   Compare its SHA-256 fingerprint with the fingerprint in the relay window.
   For iPhone/iPad: install the profile and enable full trust in Certificate Trust
   Settings. Downloading the profile alone does not enable TLS trust.
5. Tap Open Commandory with this relay. The website confirms the independent
   operator before connecting. Choose the game, create a room and share its
   normal invitation or QR code. Guests must finish device certificate setup too.

Keep the EXE's console window open. Host setup offers Start relay and Stop games.
Stopping games disconnects everyone; Start reopens connections. Ctrl+C or closing
this console exits the program. Restarting loses active rooms and matches.

No Rust, nginx, OpenSSL, Docker, accounts or game assets are required on the host.
The Commandory website and game downloads still require Internet access. PTT and
notifications are disabled on this community relay, including in the browser.
The EXE is unsigned. Windows may display a publisher/SmartScreen warning; verify
where you obtained the file. Never disable your computer's security protections.

Local state is in %LOCALAPPDATA%\Commandory\Relay. ca-key.pem and server.key are
PRIVATE; never share or upload them. The public ca.crt can be installed on your
household devices. CA trust grants are powerful: install only for your own host
and remove the trust/profile when no longer needed. Every installation creates
its own CA; the package contains no shared private key. Back up private state
securely if you want to preserve the same device trust on a replacement host.

On Windows, remove trust with certmgr.msc -> Trusted Root Certification Authorities
-> Certificates -> your Commandory Home Relay CA. Remove its firewall rule through
Windows Defender Firewall if no longer needed. Removing the EXE alone does not
remove certificate trust or the explicit firewall rule.

The public LAN setup page has no host controls. Host control requests require a
private token and a loopback browser connection. No router forwarding is needed.
Guest Wi-Fi/client isolation, browser local-network permissions, an expired CA or
an incorrect LAN address can prevent connection. Check the host's current address,
firewall Private profile and the certificate trust on the affected device.

Advanced usage:
  commandory-relay.exe --lan-ip 192.168.1.50 --lan-http-port 8081 --lan-tls-port 8443
  commandory-relay.exe --lan-state "D:\PrivateRelayState" --no-browser
  commandory-relay.exe --help

A valid TLS certificate is retained across restarts. It is renewed for an address
change or near expiry, signed by the same persistent private CA. Browser certificate
exceptions may need accepting again after renewal; installing the CA avoids that.
A LAN address/invite is reachable only on that network or a deliberately configured
VPN. This is not an offline edition or a public relay discovery service.
