Closed egormzln closed 1 month ago
Just wondering, were you able to connect to internet after your setup using tun2socks and xray?
Yes, it was successful, what could be the problem?
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days
Verify steps
Version
2.5.2
What OS are you seeing the problem on?
Windows
Description
I am faced with the problem of large memory leaks when using the Xray-client with tun2socks (for local socks proxy) on Windows 11, here is my Xray config:
Xray-client config.json
Leaks reaches 2GB+ on Tun2socks.exe and 1GB+ on Xray.exe
I guess my virtual adapter is being created incorrectly in some way and traffic just starts to overflow the Tun2socks and Xray stacks. Maybe someone can provide me with other tools for local socks-proxying to the xray-client (at 127.0.0.1:10808) I will be very grateful!
CLI or Config
Logs
How to Reproduce
In cmd run Xray-core as admin with config from the description :
In another cmd run Tun2socks as admin:
In another cmd configure the virtual adapter:
Set DNS from the xray-config for tun-device:
Adding routes to the local DNS table: