Answer the question
In order to leave comments, you need to log in
Serial port from Linux to Windows over TCP/IP
Good afternoon community!
I am looking for the following: I need to forward a COM port from a Linux machine to a Windows server. All the solutions that I found are based on the fact that a daemon (ser2net, serialproxy, socat, etc.) is launched on a Linux machine and then a service installed on a Windows server (Tibbo, HW VSP3) is connected to it. The problem with this solution (for me) is that the Linux machine has a dynamic address (via DHCP), and the server software for Windows requires you to specify the client address in advance.
Now the question is: is there a solution where the Windows server software listens on a specific TCP port (for example) and accepts connections from a Linux client. Well, on the Linux client, the address of the server would be indicated.
PS I apologize for the somewhat chaotic explanation. If you need more information, I'll be happy to answer.
Answer the question
In order to leave comments, you need to log in
Make a Linux machine with a dynamic IP a permanent domain name. And connect through it
1. You can ask the DHCP server admin to fix the linux address of the machine
2. You can use the name and not the address, and if there is no Linux in DNS, you can use dyndns or a similar service
3. You can forward the tcp port from Linux to Windows by name - look at tcp proxy, like as in the last windows there is a built-in one
. I didn’t understand about connecting a client from Linux - the client seems to be on Windows?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question