forward IP to Serial

I have an access controll device that comunicates with PC via serial port. (The software can comunicate with IP as well as serial but all our devices are serial)
This particular device is on the remote location.
If I connect my access controll device to serial port on my routerboard, can i forward certian port to serial port?
eg.
in interface: WAN1
Protocol: TCP
DST port: 1001
forward to port: serial0


The sollution we have now is fasttrack modem with special software that costs here over 500$

the routerboard 411u we have has the latest wersion of routeros.


thanks!

Can this be done?

as far as I know it can’t be done

why not? with “special login”, our secret, undocumented feature :slight_smile:

http://forum.mikrotik.com/t/serial-interface-proxy/8931/5

You can setup a user account on mikrotik and assign it to a special-login on the serial port - then when you SSH into the box using that userid it will automatically patch you over to that serial port. I think it’s somewhat undocumented.

List of console commands under “/special-login”:
special-login add user= port= copy-from=

Sam

What we need is direct connetion with the serial device. So if i forward 1001 to serial port, and try to telnet directly to that port - i would be connected directly to my serial device.
There is no way to change the software to send username and password to my routerboard. (it is not ours)
And since we will be using MT for internet access and VPN anyway, i hoped that we could do this as well.

We are trying to avoid puting ethernet-to-serial adapters of any kind (in fact, this combination would replace all eth2serial sollutions for us with this sollution)


regards

i am using this feature all the time now, it’s EXCELLENT. Mikrotik - thank you for adding this. Please do the same for USB devices (remote cameras, remote cell phones, etc - how cool would that be!)

/port remote-access add

just tell it RAW as the format if you want direct access with telnet.

I am now using RouterOS as a data collection device monitoring water tank levels. I’ve hooked up an A/D converter pic controller to the serial port and then i can telnet in, read the values, and plot them with a remote MRTG box.

Thanks.
I found a wiki describing remote-access. will report back here with details

Works like a charm!

Found a bug though (unrelated to serial port remote access)