Virtual Serial Ports Linux

I have some devices that are serial going to ethernet. From there, I need to make a virtual serial port to go TCP -> serial device on linux. I’m having a hard time finding a way to do this. Any suggestions?

You could look at socat: dest-unreach.org/socat/

I have used it to create virtual serial ports on Linux.

You can search for examples on the Internet, for example:
stackoverflow.com/questions/2053 … y-pty-link

lowlevel.cz/log/cats/english … CP-IP.html