# Virtual Serial Ports Linux

**URL:** <https://forum.inductiveautomation.com/t/virtual-serial-ports-linux/8150>\
**Category:** Archived Topics\
**Created:** [March 13, 2014, 8:03pm UTC](https://forum.inductiveautomation.com/t/virtual-serial-ports-linux/8150 "2014-03-13T20:03:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![downerczx](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/downerczx/32/11649_2.png) [@downerczx](https://forum.inductiveautomation.com/u/downerczx)\
**Post date:** [March 13, 2014, 8:03pm UTC](https://forum.inductiveautomation.com/t/virtual-serial-ports-linux/8150/1 "2014-03-13T20:03:19Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![nmudge](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nmudge/32/3394_2.png) [@nmudge](https://forum.inductiveautomation.com/u/nmudge)\
**Post date:** [March 14, 2014, 3:09pm UTC](https://forum.inductiveautomation.com/t/virtual-serial-ports-linux/8150/2 "2014-03-14T15:09:31Z")

</div>

You could look at socat: [dest-unreach.org/socat/](http://www.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](http://stackoverflow.com/questions/20532195/socat-with-a-virtual-tty-link-and-fork-removes-my-pty-link)

[lowlevel.cz/log/cats/english … CP-IP.html](http://www.lowlevel.cz/log/cats/english/Socat%20and%20serial%20port%20over%20TCP-IP.html)
