Modbus TCP-RTU Arduino

Hello, I am working on a project in Arduino that allows a Modbus TCP message to be received and transformed into a Modbus RTU message. I am using a MAX485 module for serial communication and an ethernet shield. I need the Arduino to be a TCP server to receive the message and then to be an RTU master to send the modified message and receive a response from the plc which is an RTU slave.

Is it possible to use Arduino as a TCP server as well as an RTU master?