It depends on the task you're solving, but - basically - here it is in an official manual at https://gitlab.torproject.org/legacy/trac/-/wikis/doc/TransparentProxy but - keep in mind that connection leaks are very possible if you're using just a common recipe! Perhaps if you will provide more details about your task workflow I'll be able to help you better.
Update on edit: You're right, Tor Transparent Proxy is not rising an interface, but you just need to follow the guide I linked to you - it's your case. Pay careful attention at the warning block in the guide about incorporating the leak-protecting rules in another cases, but in your particular case just enable the outer world connection for the system user used to run Tor - it will seal the breaches in your case. In other cases like a single node routing and drop-in on-machine rule set - it's a must have to incorporate the additional rules referenced.