Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Tun Mode #1407

Open
Kenzo-911 opened this issue Aug 22, 2024 · 3 comments
Open

BUG: Tun Mode #1407

Kenzo-911 opened this issue Aug 22, 2024 · 3 comments

Comments

@Kenzo-911
Copy link

hello
When I use Tun mode and open another program like Chrome, Tun mode is disabled and nekoray-tun (Control Panel\Network and Internet\Network Connections) cannot connect to the Internet.
I restart my pc and doesn't work

@Kenzo-911 Kenzo-911 reopened this Aug 22, 2024
@Ashaxer
Copy link

Ashaxer commented Aug 23, 2024

Try changing core to sing-box
worked for me..

@shanoaice
Copy link

I suggest using the 4.0-beta3 version. The sing-box executable with old 3.x program has some weird self-looping issues that sometimes break TUN mode, and doesn't happen reliably.

@LazyDBAS
Copy link

LazyDBAS commented Sep 8, 2024

Hello!

I have the two servers with Xray. The Xray servers are configured to use "VLESS" with "xtls-rprx-vision".

The server 'server1' configured to use "VLESS" with "xtls-rprx-vision" without "public-private" keys and "shortsid", I'm using only "uuid".
The server 'server2' configured to use "VLESS" with "xtls-rprx-vision" with "public-private" keys and "shortsid" and using "uuid".

I use Nekoray versions 3.23 and 3.26.
Core option sing-box. Remote DNS "https://8.8.8.8/dns-query". Direct DNS "localhost". Enable DNS Routing.

When I use TUN mode in the Nekoray to connect to the server 'server1' with XRay configured without "public-private" keys and "shortsid" connection working.
When I try to use TUN mode in the Nekoray to connect to the server 'server2' with XRay configured with "public key" I get the error "dns: exchange failed for mtalk.google.com. IN A: Post "https://8.8.8.8/dns-query": EOF".

I tried using Nekoray version 4.0 beta 3.
Core option sing-box. Remote DNS "https://dns.google/dns-query". Direct DNS "https://doh.pub/dns-query". Enable DNS Routing.

When I use TUN mode in the Nekoray to connect to the server 'server1' with XRay configured without "public-private" keys and "shortsid" connection working.
When I try to use TUN mode in the nekoray to connect to the server 'server2' with XRay configured with "public key" I get the errors:

"INFO[0013] dns: exchanged mydomain.freemyip.com OPT OPT PSEUDOSECTION: EDNS: version 0 flags: MBZ: 0x00b4, udp: 4096 SUBNET: ip_my_provider"
"ERROR[0015] dns: exchange failed for beacons.gcp.gvt2.com. IN A: EOF
[[VLESS] lazy-1-5_openwrt] test error: Get "http://cp.cloudflare.com/": EOF"
"ERROR[0015] dns: exchange failed for signaler-pa.clients6.google.com. IN A: EOF"
"ERROR[0010] dns: exchange failed for dns.google. IN A: context deadline exceeded"
"ERROR[0010] dns: exchange failed for dns.google. IN A: context canceled"
"ERROR[0010] dns: exchange failed for dns.google. IN A: context canceled"
"ERROR[0010] dns: exchange failed for dns.google. IN A: context canceled"
"ERROR[0010] dns: exchange failed for dns.google. IN A: context canceled"
"ERROR[0010] dns: exchange failed for go.microsoft.com. IN A: context deadline exceeded"
"ERROR[0010] dns: exchange failed for go.microsoft.com. IN A: context canceled"
"ERROR[0010] dns: exchange failed for go.microsoft.com. IN A: context canceled"
"ERROR[0010] dns: exchange failed for go.microsoft.com. IN A: context canceled"
"ERROR[0010] dns: exchange failed for go.microsoft.com. IN A: context canceled"
"ERROR[0010] dns: exchange failed for doh.pub. IN A: context deadline exceeded"
"ERROR[0010] dns: exchange failed for doh.pub. IN A: context canceled"
"ERROR[0010] dns: exchange failed for doh.pub. IN A: context canceled"
"ERROR[0010] dns: exchange failed for doh.pub. IN A: context canceled"
"ERROR[0010] dns: exchange failed for doh.pub. IN A: context canceled"
"ERROR[0011] dns: exchange failed for mtalk.google.com. IN A: context deadline exceeded"
"ERROR[0011] dns: exchange failed for mtalk.google.com. IN A: context canceled"
"ERROR[0011] dns: exchange failed for mtalk.google.com. IN A: context canceled"
"ERROR[0011] dns: exchange failed for mtalk.google.com. IN A: context canceled"
"ERROR[0011] dns: exchange failed for mtalk.google.com. IN A: context canceled"

I have router with OpenWRT. I use client sing-box with TUN mode on the OpenWRT to connect to the server 'server2'. On OpenWRT connecting working.

I don't understand why this configuration doesn't work on Nekoray.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants