Open cmonty14 opened 3 months ago
Access Control
-> Policies
?netstat -tulpen
, do both ports appear there?curl http://127.0.0.1:80
I added access policy and now ports are open:
❯ nmap -Pn -p 22,53,80,443 openwrt.netbird.cloud
Starting Nmap 7.95 ( https://nmap.org ) at 2024-08-15 20:39 CEST
Nmap scan report for openwrt.netbird.cloud (100.xxx.xxx.216)
Host is up (0.0079s latency).
PORT STATE SERVICE
22/tcp closed ssh
53/tcp open domain
80/tcp open http
443/tcp open https
Nmap done: 1 IP address (1 host up) scanned in 13.07 seconds
As you can see SSH port is closed.
And I cannot open it because dropbear returns error interface netbird has no physdev or physdev has no suitable ip
with this configuration:
root@openwrt:~# cat /etc/config/dropbear
config dropbear
option PasswordAuth 'on'
option Port '22'
option Interface 'mgmt'
config dropbear
option PasswordAuth 'on'
option Port '22'
option Interface 'netbird'
Only after setting interface to unspecified, which results in this config, SSH access is open:
root@openwrt:~# cat /etc/config/dropbear
config dropbear
option PasswordAuth 'on'
option Port '22'
However, then SSH port 22 is listening on any interface.
Describe the problem I have setup Netbird successfully on my OpenWrt router based on the information shared here #2268.
Peer is up and connected:
To verify if connection to peer is working, I deployed another peer on my laptop. However I cannot ping this OpenWrt router peer from my laptop. And nmap shows that all relevant ports are filtered:
I configured the router to listen on
0.0.0.0:80
and0.0.0.0:443
, and this should give remote access to OpenWrt webUI. But it's not working.Can you please advise what is missing?
Are you using NetBird Cloud? Yes
NetBird version 0.24.3