How to enable USB OTG for mass storage purpose

Hello,

I’m trying to configure my Rock Pi S (using Debian 12 with kernel 6.1.68-2) as a mass storage device when I connect to a PC. The purpose is for it to receive payloads and send them through the network to my server.

I saw that I can enable OTG through the “rsetup” menu and go to Hardware > USB OTG services but I don’t know what option to use (ecm or ncm) or if I need to do something else before mounting the directory.