mirror of
https://github.com/v2rayA/v2rayA.git
synced 2026-11-20 23:02:25 +03:00
Since v2.4 the dokodemo transparent inbound binds 127.0.0.1 only, so traffic intercepted by the PREROUTING transparent rules and REDIRECTed to the interface address (e.g. docker bridge containers) can never reach it: all bridge-container TCP breaks while transparent proxy is enabled, a regression from 2.2.x where the inbound listened on 0.0.0.0. Let the inbound follow the existing 'Allow connections from LAN' (PortSharing) setting, which the socks/http inbounds (template_inbound.go) and dns-in (template_outbound.go) already follow. Default behavior is unchanged (loopback-only with PortSharing off); with PortSharing on, redirected/forwarded traffic works again.