heiher / sockstun

A simple and lightweight VPN over socks5 proxy (tun2socks) for Android.
MIT License
213 stars 58 forks source link

Not working on real device. #6

Closed evgenybozhko2 closed 1 year ago

evgenybozhko2 commented 1 year ago

Hello, dear creator this useful lib. Thank you for your job. But I was faced with the issue when no traffic pass on a real device. It works perfectly on an emulator. Do you know where is the problem?

heiher commented 1 year ago

check udp relay over tcp?

evgenybozhko2 commented 1 year ago

Config from you repository app.

misc: task-stack-size: 20480 tunnel: mtu: 8500 socks5: port: 1080 address: 'XXX.153.XXX.183' udp: 'tcp' username: 'username' password: 'password'

evgenybozhko2 commented 1 year ago

Apk 1.3 version from releases not pass traffic as well.

heiher commented 1 year ago

The socks5 server needs to support udp relay. I think you should try sockstun with this socks5 server: https://github.com/heiher/hev-socks5-server

evgenybozhko2 commented 1 year ago

The socks5 server needs to support udp relay. I think you should try sockstun with this socks5 server: https://github.com/heiher/hev-socks5-server

Hmm, but I have already works IOS side with same server. Can you explain it little bit, please.

Thanks you a lot.

heiher commented 1 year ago

I believe that sockstun works with hev-socks5-server, so let's try it first. Then we can replace components or modify the configuration to troubleshoot the issue.

evgenybozhko2 commented 1 year ago

I believe that sockstun works with hev-socks5-server, so let's try it first. Then we can replace components or modify the configuration to troubleshoot the issue.

Yep, you right. It works like charm with hev-socks5-server. Thank you a lot for this greatest job.

gg340th commented 11 months ago

@evgenybozhko2 What emulator did you use? In my case, it does not work on an emulator too. Nougat 7.1.1