You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.
Hello there, This will be a messy issue description and I'm not experienced in go, so I am sorry in advance
The problem
I can't get the same nekobox_core binary included in nekoray gui client present in /config
os: Ubuntu 22.04.2
What I have done to compile the binary
I have cloned the repositories that had replace <repo-url> => ../<name> in go.mod (all main branch) respectively and put them on a parent directory and installed the dependencies with go get .
Also I have uncommented the line replace github.com/sagernet/sing-dns v1.0.0 => ../sing-dns and cloned it as well due to an error where CreateLocalTransport and CreateUDPTransport were undefined.
I've used go build -tags with_gvisor to build a binary for my system
Why it seems to be a different binary
The reason for that is I have a socks-5 proxy running at a local port and I use vpn-run-root.sh to do the packet flagging and everything for me in order to use it as a vpn (script is not modified I'm simply happy with it) but when I replace nekobox_core path in vpn-run-root.sh with the binary I've compiled, they behave differently, I keep getting this error repeatedly: dns: exchange failed for connectivity-check.ubuntu.com. IN A: dial tcp 127.0.0.1:8081: no route to internet
Both the script and the sing-box-vpn.json are the same (except the outbound socks port in sing-box-vpn.json which is 8081)
The socks-5 proxy is functioning and the script is fine with the original nekobox_core provided in nekoray client.
I'm wondering if you could provide me with a description of how should this package be compiled, if there is any extra flag or certain commits in parent repositories I have to checkout to or maybe there is a different repo or...
Any help would be appreciated
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello there, This will be a messy issue description and I'm not experienced in go, so I am sorry in advance
The problem
I can't get the same nekobox_core binary included in nekoray gui client present in
/config
os: Ubuntu 22.04.2
What I have done to compile the binary
replace <repo-url> => ../<name>
in go.mod (all main branch) respectively and put them on a parent directory and installed the dependencies withgo get .
replace github.com/sagernet/sing-dns v1.0.0 => ../sing-dns
and cloned it as well due to an error whereCreateLocalTransport
andCreateUDPTransport
were undefined.go build -tags with_gvisor
to build a binary for my systemWhy it seems to be a different binary
The reason for that is I have a socks-5 proxy running at a local port and I use
vpn-run-root.sh
to do the packet flagging and everything for me in order to use it as a vpn (script is not modified I'm simply happy with it) but when I replace nekobox_core path invpn-run-root.sh
with the binary I've compiled, they behave differently, I keep getting this error repeatedly:dns: exchange failed for connectivity-check.ubuntu.com. IN A: dial tcp 127.0.0.1:8081: no route to internet
Both the script and the
sing-box-vpn.json
are the same (except the outbound socks port insing-box-vpn.json
which is8081
)The socks-5 proxy is functioning and the script is fine with the original
nekobox_core
provided in nekoray client.I'm wondering if you could provide me with a description of how should this package be compiled, if there is any extra flag or certain commits in parent repositories I have to checkout to or maybe there is a different repo or...
Any help would be appreciated
The text was updated successfully, but these errors were encountered: