Trojan + MUX + AEAD (trojan-mux-aead.json)
AEAD encrypts the connection with a shared password and has no TLS handshake. In this case MUX carries many connections inside one.
VERIFIED — TESTED SUCCESSFULLY Tested on 9 November 2026 on the current app build against WaterWall 1.5.42, the official release, unchanged.
Result
| Outcome | Passed: every check succeeded. |
|---|---|
| Test length | 99 seconds |
| Downloaded | 1,342 MB (109 Mbit/s on average) |
| Uploaded | 1,208 MB (98 Mbit/s on average) |
| Transfers | 80 downloads and 72 uploads of 16 MiB; 8/8 streams finished at the end |
| Errors | none |
| Timeouts | 0 |
| Through the tunnel | Yes: the HTTPS test server saw these transfers come from <SERVER_IP>, and it would have seen the phone's own network if they had left outside the tunnel |
| HTTPS check through the tunnel | Ping: 166 ms; Ping: 140 ms |
| UDP | not-run: This run measured TCP only |
Test setup
| Phone | iPhone 12 with iOS 27.2 (build 24B119), on Wi-Fi |
|---|---|
| App | SRP VPN Connect 1.2.0 (build 41), a Release build of commit e44cf11d, installed by Xcode for the test. TestFlight build 41 is commit e44cf11d, with the same app code: the commits after it change only the tests and the change log |
| Server machine | Ubuntu 24.04.5 LTS, VMware virtual machine with 2 vCPUs and 2 GB RAM |
| Server program | Our permanent waterwall.service: the official WaterWall 1.5.42 release program, unchanged, installed as described in Installation, with /etc/waterwall/core.json |
| Server DNS lookups | 5 tries, WaterWall 1.5.42's default; /etc/waterwall/core.json does not set it |
| Server port | The configuration's own port, open to the internet |
| Certificate | Let's Encrypt ECDSA certificate for <SERVER_HOST> |
| Traffic | An HTTPS test server on the same machine, port 28483, that serves a 16 MiB file and checks each upload. On Raw IPv4 and native WireGuard chains the phone reaches it at the server's private address 10.44.0.1, because iOS sends traffic for the server's own public address outside the tunnel; the test then trusts its certificate by comparing it with a copy, since the name in it is not that address |
| Network | Our office broadband line, over the public internet |
iPhone 12 with SRP VPN Connect
|
| Wi-Fi, office broadband, internet
v
<SERVER_HOST>
waterwall.service, the configuration's port
|
| inside the same machine
v
HTTPS test server, port 28483 download file and upload checker
Server configuration
This is the configuration file from /etc/waterwall/configs/ on our server, loaded by waterwall.service, exactly as it ran. Only the server name, the UUID and the passwords are replaced with placeholders.
{
"name": "trojan-mux-aead",
"author": "SRP",
"config-version": 1,
"core-minimum-version": 0,
"nodes": [
{
"name": "public-in",
"type": "TcpListener",
"settings": {
"address": "0.0.0.0",
"port": 18460,
"nodelay": true,
"initial-idle-timeout-ms": 15000,
"active-idle-timeout-ms": 300000
},
"next": "encryption"
},
{
"name": "encryption",
"type": "EncryptionServer",
"settings": {
"algorithm": "chacha20-poly1305",
"password": "<PASSWORD>",
"salt": "waterwall-aead",
"kdf-iterations": 12000,
"max-frame-size": 16356
},
"next": "mux"
},
{
"name": "mux",
"type": "MuxServer",
"settings": {
"max-children": 256,
"initial-child-idle-timeout-ms": 15000,
"active-child-idle-timeout-ms": 300000
},
"next": "trojan"
},
{
"name": "trojan",
"type": "TrojanServer",
"settings": {
"password": "<PASSWORD>",
"connect": true,
"udp": true,
"verbose": true
},
"next": "outbound"
},
{
"name": "outbound",
"type": "TcpUdpConnector",
"settings": {
"address": "dest_context->address",
"port": "dest_context->port",
"nodelay": true
}
}
]
}
App settings
On the WaterWall configuration screen:
| Row | Value |
|---|---|
| Mode | Chain |
| Input | Connections |
| Application | Trojan |
| MUX | On |
| Obfuscator | Off |
| HTTP | Off |
| BGP4 Framing | Off |
| Outer | AEAD |
| Carrier | TCP |
In the profile editor:
| Server | <SERVER_HOST>, the server's domain name |
|---|---|
| Port | The listener port in the server file |
| SNI (optional) | Empty, so the app sends the Server field (<SERVER_HOST>) |
| TLS Server Verification | On |
| UUID or Password | The value from the server file |
| Reality Password | The value from the server file, for Reality |
| Auto Reconnect | Off, so that a reconnect cannot hide a failure |
| On Sleep | Stay |
| Log Level | Normal |
| Remote DNS (Fake IP) | On |
| Direct LAN Routing | On |
How it was tested
- Xcode installed the app's test build on the phone, and the test created the profile shown above in memory. It was not added to the app's profile list.
- The test connected the VPN and waited until iOS reported it connected.
- It ran the app's own HTTPS check through the tunnel: a request to
https://gstatic.com/generate_204, which must answer 204. - For at least 90 seconds it ran 4 downloads and 4 uploads at the same time, over and over. Each download fetched a 16 MiB file from the HTTPS test server. Each upload sent 16 MiB, and the server answered with the size and SHA-256 it received, which the test compared with what it sent.
- It ran the HTTPS check again and disconnected.
A case passes only if the VPN stayed connected, the test ran the full 90 seconds, every transfer finished, there were no errors and no timeouts, data moved in both directions, both HTTPS checks succeeded, and the HTTPS test server saw the transfers come through the tunnel (Direct mode and the GeoIP cases leave outside it by design and are not checked).
Gaps and limits
- Each case ran once, for about 90 seconds, with one phone on one network.
- The test measured TCP traffic only; UDP was not tested.
Evidence
| Test case | prod-trojan-mux-aead |
|---|---|
| Why it was selected | Production configuration trojan-mux-aead.json |
| Run | 2026-11-09T23:49:12Z to 2026-11-10T01:02:46Z (UTC) |
| Case log times | 2026-11-10 03:10:19 to 2026-11-10 03:12:02 (phone time, UTC+3) |
| App source | commit e44cf11d |
| Server program | WaterWall 1.5.42, the official release, unchanged, SHA-256 38631081bd10347d… |
| Evidence file | waterwall-production-20261109T2349Z.json |