-
I'm new to Thread/OT/OTBR, so apologies in advance for any misunderstandings. While my goal here is to assist with packaging OTBR for NixOS, my questions are actually about open ports for the purpose of firewall configuration, so I won't ask anything Nix-specific: As I understand it, the Border Router will advertise its UDP service over mDNS, and so the system should accept UDP traffic to this port (i.e. need to allow through firewall). In code, this is controlled by Additionally, there's a couple other services that listen on start for OTBR:
In code, BBR is hardcoded to Should inbound UDP traffic also be allowed to these port [ranges]? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@milas, this is all correct. It can be set using the However, I would suggest, if possible, checking One thing to note is that when ephemeral key mode is enabled/used ( |
Beta Was this translation helpful? Give feedback.
@milas, this is all correct. It can be set using the
BORDER_AGENT_UDP_PORT
at build time. There is an API to get the UDP port:otBorderAgentGetUdpPort()
. There is no API to set this at run time, but it can be added easily.However, I would suggest, if possible, checking
otBorderAgentGetUdpPort()
to learn the current port and then updating the firewall code dynamically.One thing to note is that when ephemeral key mode is enabled/used (
otBorderAgentSetEphe…