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

[Temporary solution] Can't connect Tun Mode / 无法使用 Tun 模式 #118

Open
evilvampire16 opened this issue Nov 2, 2022 · 13 comments
Open
Labels
bug Something isn't working

Comments

@evilvampire16
Copy link

evilvampire16 commented Nov 2, 2022

Restarting and change Direct DNS can solve most problems.
重启和更改直连 DNS 可以解决大多数问题。

Windows

#118 (comment)

Linux

#118 (comment)

@arm64v8a

This comment was marked as outdated.

@evilvampire16

This comment was marked as outdated.

@SafaSafari

This comment was marked as duplicate.

@arm64v8a
Copy link
Contributor

arm64v8a commented Nov 4, 2022

There may be a problem with the current localhost resolver under VPN mode in NekoRay.

If you can not connect to the server in VPN mode, but in normal mode can, please set an available direct DNS server as a temporary solution. (eg. https+local://223.5.5.5/dns-query)

NekoRay 中 VPN 模式下的当前 localhost 解析器可能存在问题。

如果在VPN模式下无法连接到服务器,但在普通模式下可以,请设置一个可用的直接DNS服务器作为临时解决方案。

@arm64v8a arm64v8a added the bug Something isn't working label Nov 4, 2022
@arm64v8a arm64v8a pinned this issue Nov 4, 2022
@arm64v8a arm64v8a changed the title can't connect through VPN Mode can't connect through VPN Mode [temporary solution] Nov 4, 2022
@arm64v8a

This comment was marked as resolved.

@arm64v8a arm64v8a closed this as completed Nov 9, 2022
@evilvampire16

This comment was marked as off-topic.

@arm64v8a arm64v8a changed the title can't connect through VPN Mode [temporary solution] [temporary solution] Can't connect through VPN Mode / 无法使用 VPN 模式 Nov 19, 2022
@Stevemoretz
Copy link

Stevemoretz commented Nov 25, 2022

fixed in 2.3 (Windows&Linux, macOS is Unknown)

Is this related? using on macOS 10.15 intel

it works actually but it's slow, latest build just downloaded.

[2022-11-25 17:36:12] [Warning] [3038225661] app/dispatcher: default route for [tcp:149.154.175.54:80]
[2022-11-25 17:36:13] [Warning] [1246777988] app/dispatcher: default route for [tcp:216.239.38.120:443] tcp:www.google.com:443
[2022-11-25 17:36:13] tcp:127.0.0.1:50308 accepted [tcp:216.239.38.120:443] tcp:www.google.com:443 [socks-in -> proxy]
[2022-11-25 17:36:14] [Warning] [3038225661] app/proxyman/outbound: failed to process outbound traffic > proxy/vmess/outbound: connection ends > websocket: close 1000 (normal)
[2022-11-25 17:36:14] [Warning] [1514600836] app/proxyman/outbound: failed to process outbound traffic > proxy/vmess/outbound: connection ends > websocket: close 1000 (normal)
[2022-11-25 17:36:14] [Warning] [2250464901] app/proxyman/outbound: failed to process outbound traffic > proxy/vmess/outbound: connection ends > websocket: close 1000 (normal)

Added another issue just for this: #171

@peymanbadri

This comment was marked as spam.

@alirez4

This comment was marked as spam.

@SafaSafari
Copy link
Contributor

try run this command on terminal
sudo ip link delete nekoray-tun

@arm64v8a
Copy link
Contributor

arm64v8a commented Feb 4, 2023

Known issue: Linux

  1. systemd-resolved is not working. (Tunnel DNS requests through the VPN interface (systemd-resolved) #342 VPN mode 異常 #704)
  2. Occasionally sing-box may not be possible to clean up the interface. ( try sudo ip link delete nekoray-tun )
  3. Don't use AppImage if you need Tun.

@arm64v8a
Copy link
Contributor

arm64v8a commented Feb 4, 2023

Known issue: Windows

  1. Occasionally sing-box may not be possible to clean up the interface. If you don't restart the system you can't continue using it.
  2. Still not working with localhost or UDP DNS in some cases. (VPN模式DNS解析bug #347)

@arm64v8a arm64v8a reopened this Feb 4, 2023
@Higher-Soft

This comment was marked as spam.

@MatsuriDayo MatsuriDayo locked as too heated and limited conversation to collaborators Apr 12, 2023
@arm64v8a arm64v8a changed the title [temporary solution] Can't connect through VPN Mode / 无法使用 VPN 模式 [Temporary solution] Can't connect Tun Mode / 无法使用 Tun 模式 Jul 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants