Sorry for misunderstanding from my side.
Let me explain that it is not quite easy to limit the upload bandwidth in CloudMounter.
The number of port is dynamic, so it will be changed every time and CloudMounter cannot effect it.
Also, the frequency of port changing will depend on the system as well. It can be changed once the upload/download is started.
We can recommend you the following actions:
- Find the app/tool that is created specially for such purpose;
- Try to put the host instead of port number in pfctl. Note that there is no guarantee that it will be also the same, as it depends on OneDrive;
- Always update the list of ports that CloudMounter uses through the lsof command in console.
However, it can take some additional time and efforts for the tool setup.