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

Why can't the same local area network successfully P2P? #3339

Open
moqiu365 opened this issue Feb 17, 2025 · 6 comments
Open

Why can't the same local area network successfully P2P? #3339

moqiu365 opened this issue Feb 17, 2025 · 6 comments

Comments

@moqiu365
Copy link

moqiu365 commented Feb 17, 2025

Describe the problem

Image

The server uses Tencent Cloud,The above picture shows the structure of my local area network,
Among them, Android phones, WIN10, and Ubuntu all have installed netbird, and WIN10 connects to Android WiFi hotspots
However, communication between WIN10 and Ubuntu cannot be successfully P2P,I can successfully P2P using other virtual LAN tools (such as VNT, Tailscale), but Netbird cannot

Android phones<--->Ubuntu uses P2P communication
WIN10<--->Ubuntu uses a transit server
WIN10<--->Android phones use P2P communication

When WIN10 is directly connected to the LAN, WIN10 and Ubuntu can successfully P2P, and the firewalls of all devices except Android phones have been turned off

Here are the detailed information of netbird status - d

Image
Image
Image

The following is the configuration of turnserver. conf

Image

Here are the netbird-coturn-1 logs for Docker

Image

To Reproduce

Steps to reproduce the behavior:
not have

Expected behavior

P2P communication should be successful

Are you using NetBird Cloud?

Self deployed netbird

NetBird version

The latest netbird

NetBird status -dA output:

If applicable, add the `netbird status -dA' command output.

Do you face any (non-mobile) client issues?

netbird.debug.3366302722.zip

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

@Aurel004
Copy link

Hi,

Might be related to #3325

#3325 (comment)

I would try to edit win10's config.json and put the IP of win10 gave by Android phone

@moqiu365
Copy link
Author

你好

可能与 #3325 有关

#3325 (评论)

我会尝试编辑 win10 的 config.json 并放入 Android 手机给出的 win10 的 IP

Is it filling in the client's public IP address? Or is it the public IP address of the server?
In some places, the client's public IP is not fixed and changes periodically, so it cannot be manually changed at any time. Isn't this troublesome? Is there a more concise method?

@lixmal
Copy link
Contributor

lixmal commented Feb 18, 2025

Can you try using a different interface port on the Windows machine and see if that makes a difference? (Settings -> Advanced Settings)

@moqiu365
Copy link
Author

您能否尝试在 Windows 计算机上使用不同的接口端口,看看这是否有所作为?(设置 - >高级设置)

The netbird I installed always doesn't respond when I click on advanced settings. I've changed several versions and it's the same. I don't know what environment is missing

@lixmal
Copy link
Contributor

lixmal commented Feb 18, 2025

You can do it in PowerShell:

netbird down
netbird up --wireguard-port xxx

@moqiu365
Copy link
Author

moqiu365 commented Feb 18, 2025

您可以在 PowerShell 中执行此作:

netbird down
netbird up --wireguard-port xxx

I tried 7 to 10 times, but it still shows a transit connection

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

No branches or pull requests

3 participants