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

Port 44338/tcp needs to be open in firewalld for SSH access #3063

Open
orchard0 opened this issue Dec 17, 2024 · 0 comments
Open

Port 44338/tcp needs to be open in firewalld for SSH access #3063

orchard0 opened this issue Dec 17, 2024 · 0 comments

Comments

@orchard0
Copy link

orchard0 commented Dec 17, 2024

Describe the problem

Unless port 44338/tcp is opened in firewalld Netbird SSH access won't work. ufw firewall doesn't need any open ports.

To Reproduce

Steps to reproduce the behavior:

  1. Use a Linux OS using firewalld.
  2. sudo netbird ssh server@ubu

Error received:
Error: dial tcp 100.77.74.220:44338: connect: no route to host Couldn't connect. Please check the connection status or if the ssh server is enabled on the other peer

Expected behavior

Netbird SSH access should work without opening any ports in firewalld. This is partly its primary usefulness.

Are you using NetBird Cloud?

Self-host NetBird's control plane.

NetBird version

0.34.1

Additional context

I've tested this on Ubuntu 24.04, Fedora 41 Server and AlmaLinux 9.5.

It should be noted that port 44338/tcp doesn't need to be opened on an external firewall like a router or virtual server's external firewall. It's only need on the Linux OS that's using firewalld.

Turning off firewalld or opening a port using sudo firewall-cmd --add-port=44338/tcp --permanent fixes the issue. Alternatively using ufw also works. However, using ufw is not always an option.

@orchard0 orchard0 changed the title firewalld needs port 44338/tcp access for SSH access Port 44338/tcp needs to be open in firewalld for SSH access Dec 17, 2024
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

1 participant