The ports don’t matter, they just need to be setup correctly. If your router is going to service edge connections or be a link listener, you need to make sure that edge clients connecting to this router can access the port. If it’s configured to be a link listener you need to make sure other routers can connect to the router though three port. Those are all things you do through various firewall configs.
The sections that need to align to the firewall will the the sections that advertise to routers the link address or the sections that advertise to sdk clients the address to connect to.