Hello! Do I need rpcport=8332 and rpcauth in my bitcoin.conf? Or this is only if I want to use tor?
This is used when you want to use any RPC client which will connect to your node (some scripts or for example electrum server).
https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)#JSON-RPCThen you may authenticate with username/password, or if you have all locally on one machine, you may use authentication with .cookie file from server's directory.