How to replicate socks5h behavior with TUN inbound in sing-box on Android? #18302
Replies: 1 comment 1 reply
-
Can you explain how this question relates to Netbox? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm running sing-box on Android with an incoming TUN. I want to repeat how
curl -x socks5h://...
i.e. make the remote SOCKS server process all DNS queries instead of doing any local DNS resolution on the device. However, I still see that local DNS queries are being run. Is there a recommended configuration or a simple example for singbox that ensures that domain names will only be resolved by a remote SOCKS server (without local DNS)? Also, if you leave dns and just send it to socket, the server returns the errorSOCKS: Unsupported command: 3
, althoughcurl -x socks5h://...
is working successfully, I suspect that this is due to udp access on android.I would appreciate any help!
Example my try to write config:
Beta Was this translation helpful? Give feedback.
All reactions