I try to establishe a serial port connection between a regular serial port device at location 2 and a my computer at location 1. The way to connect the serial port on location 1 may used a IP connection, an other USB to serial port or any other way as long as the protocole of this link is UDP or something similar. I need it without the TCP handshake.
I found some old info that may do the job, but for some reason, I’m not able to configure my PPP-server. When you connect a usb to serial device for the first time, there is a PPP-client that is made which I assume well configured, but I can’t find a way to configure the server on the other location. https://www.mikrotik.com/documentation/manual_2.5/Interface/PPP.html
Anybody have ideas to propose me? Otherwise, I tought using ethernet to serial device but my router at location 2 have only one RJ45 port so I would have to add a usb to ethernet first an a ethernet to serial which is not an optimal solution.
Yeah the TCP solution is documented, but I found no info about UDP for routeros. My application really need UDP. I know serial port are old stuff, but they are still really usefull when connected to microcontroller.
I can fully understand the need for the serial connection, nothing unusual.
I think you might try some kind of UDP tunneling, but unfortunately I can’t help you here, I’m no good when it comes to tunneling.
Or if everything else fails, you could put another computer before the serial device, open a UDP port with netcat and pipe the traffic out to the serial port.
I think also that tunnel could be used for the data transfer (PPPL2TP PPTP PPPoE or something similar but I’m new to this). There is also many information about that, but what I would need is to know how I can get the data in and out of the tunnel.
PPTP won’t work. Needs TCP handshake on port 1723.
PPPoE sounds better - try to setup a PPPoE server on one side and a PPPoE client on the other. Then establish the TCP (special login or remote access/RFC2217) inside the PPPoE.