#722·trojan

[BUG] Doesn't work under proxychains

Author: milkywayfarerCreated Mar 27, 2026Updated Mar 28, 2026
Labelsbug
  • [*] I certify that I have read the contributing guidelines and I acknowledge if I don't follow the format below, or I'm using an old version of trojan, or I apparently fail to provide sufficient information (such as logs, specific numbers), or I don't check this box, my issue will be closed immediately without any notice.

Trojan Version 1.16.0

Describe the bug When using a VM as a server and a client simultaneously (to terminate SSL and then make a new SSL connection to another instance, bypassing GFW) with proxychains, client instance receives output bytes but server instance (under proxychains) does not.

To Reproduce Steps to reproduce the behavior:

  1. Set up a server on VM2. Nothing special about it.
  2. Set up a client on VM1 to connect to VM2 through Trojan.
  3. Run a server on VM1 through proxychains so that the terminated request would reach the SOCKS5 proxy that the client spun up.
  4. Connect to VM1 using random client.

Expected behavior Expected to passthrough the traffic and request correctly.

Logs none

Environment Client - macOS trojan client VM1 - proxychains 3, trojan client and server (same binary) VM2 - trojan server (works as expected)