mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #4161] direct outbound with freedom protocol breaks TCP data transmission after v26.4.13 #2826
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#2826
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @shurakenas on GitHub (May 5, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4161
Describe the bug
Problem: TCP handshake completes (SYN → SYN-ACK → ACK), but Xray immediately sends FIN without transmitting any data. No errors in logs.
Between v26.4.13 and v26.4.15+ regression broke TCP data transmission for freedom outbound when routing by IP.
How to repeat the problem?
Config (working on v26.4.13, broken on newer):
Expected action
TCP dump comparison:
v26.4.13 (works):
192.168.66.1 - ip awg tunnel
192.168.1.95.8006 - behind the tunnel of the house (proxmox)
Received action
v26.4.15+ (broken):
192.168.66.1 - ip awg tunnel
192.168.1.95.8006 - behind the tunnel of the house (proxmox)
3x-ui Version
2.9.3
Xray-core Version
26.4.15+
Checklist
This worked in v26.4.13 and stopped working in all later versions (26.4.15+).
@paulpeef commented on GitHub (May 13, 2026):
Related to #4170 (same config pattern) with identical symptom as described here.
Additional reproduction case:
Same root cause confirmed in a different topology. Setup:
Observed behavior: Xray correctly sniffs the domain and routes to the freedom outbound. Access log shows
[inbound -> proxy-local]. However,tcpdump -i lo 'tcp port 443'shows every connection as:The service receives the TCP handshake but zero bytes of payload. Connection is immediately closed by Xray.
@shurakenas commented on GitHub (May 29, 2026):
Has it been fixed?