$ cat wireproxy.conf
[Interface]
PrivateKey = ...
Address = ...
DNS = ...
[Peer]
PublicKey = ...
Endpoint = ...
[STDIOTunnel]
Target = example.com:80
$ wireproxy -c wireproxy.conf
...
DEBUG: 2026/01/07 00:22:39 Routine: receive incoming v4 - started
DEBUG: 2026/01/07 00:22:39 Routine: receive incoming v6 - started
DEBUG: 2026/01/07 00:22:39 peer(...) - Sending handshake initiation
DEBUG: 2026/01/07 00:22:39 peer(...) - Received handshake response
ERROR: 2026/01/07 00:22:39 Failed to open /dev/stdout: open /dev/stdout: no such device or address
It seems STDIOTunnel tries to open stdout here https://github.com/whyvl/wireproxy/blob/9dad356beeb3abad48434d5ec9272ad17af5b957/routine.go#L230 but fails because of Landlock.
It seems STDIOTunnel tries to open stdout here https://github.com/whyvl/wireproxy/blob/9dad356beeb3abad48434d5ec9272ad17af5b957/routine.go#L230 but fails because of Landlock.