mediasoup (server) does not need any knowledge/configuration related to TURN. You must setup your TURN server so it has proper direct networking to the mediasoup server. That’s all.
In client side you pass STUN/TURN servers when creating a send/recv transport: