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

Unable to connect to SSH using Netbird IP #385

Open
HKbool opened this issue May 24, 2024 · 9 comments
Open

Unable to connect to SSH using Netbird IP #385

HKbool opened this issue May 24, 2024 · 9 comments

Comments

@HKbool
Copy link

HKbool commented May 24, 2024

docker run --rm -d
--cap-add=NET_ADMIN
-e NB_SETUP_KEY=SETUP_KEY
-v netbird-client:/etc/netbird
-e NB_MANAGEMENT_URL=https://xxxxxxxx
netbirdio/netbird:latest

dashboard Show connected

Use the linux command ip addr Netbird ip cannot be found

What mappings are needed to start the container?

@HKbool HKbool changed the title After the container is started, ssh cannot be connected Unable to connect to SSH using Netbird IP May 24, 2024
@mlsmaycon
Copy link
Contributor

@HKbool for SSH connection using netbird, you need to enable it on the client as well:

-e NB_ALLOW_SERVER_SSH=true

@HKbool
Copy link
Author

HKbool commented May 24, 2024

There are web pages in the client that cannot be accessed using Netbird IP. @mlsmaycon

@HKbool
Copy link
Author

HKbool commented May 24, 2024

When the container is started and joined -e NB_ALLOW_SERVER_SSH=true, it still fails to connect.

@mlsmaycon
Copy link
Contributor

Maybe I am not understanding the issue.

Can you share what is the role of the machine in which you run the docker command is? is it a routing peer, exit node, or is the machine you want to access via ssh?

@HKbool
Copy link
Author

HKbool commented May 24, 2024

100.79.167.144 to 100.79.1.66
I want to access 100.79.1.66 through SSH connection and access 100.79.1.66 through a browser. There is web information on 100.79.1.66. There are two access methods.
QQ截图20240524153906

@mlsmaycon
Copy link
Contributor

Do you have access control allowing this connection?

@HKbool
Copy link
Author

HKbool commented May 24, 2024

yes
微信截图_20240524154540

@HKbool
Copy link
Author

HKbool commented May 24, 2024

QQ截图20240524155654
Netbird network card not found

@HKbool
Copy link
Author

HKbool commented May 25, 2024

@mlsmaycon

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

2 participants