Closed dhp5 closed 1 week ago
It seems that your socks5 server doesn't support UDP association. I suggest debugging your app using hev-socks5-server.
Is there a demo for iOS?Could you please provide a sample code for iOS to call NetworkExtension to capture Tun traffic and transfer it to socks5://127.0.0.1:10808 through hev-socks5-server? Thank you very much for your patient guidance!
At the moment, there are no demo for iOS.
Unable to forward traffic to 127.0.0.1:10808
import NetworkExtension import os.log import Tun2SocksKit class PacketTunnelProvider: NEPacketTunnelProvider {
}
This is Log: [2024-09-25 19:02:52] [E] 0x10819cb70 socks5 session handshake [2024-09-25 19:02:52] [E] 0x10819c8d0 socks5 client res.rep 7 [2024-09-25 19:02:52] [E] 0x10819c8d0 socks5 session handshake [2024-09-25 19:02:52] [I] 0x10819c8d0 socks5 client udp construct [2024-09-25 19:02:52] [I] 0x10819cb70 socks5 client udp construct [2024-09-25 19:02:52] [E] 0x10819c8d0 socks5 client res.rep 7
What should I do?