RB450 as a Serial Device Server

Hello all,

I am farily new to the RouterOS and I need some help.
I am trying to get the serial port to act as a serial device server.

As I have it setup now when i type “telnet 192.168.88.1 50000” (yes I changed the telnet port number) I get the console login prompt, then I have to type “system serial-terminal”, “serial0” and “ctrl A” to be able to pass data over the port.
I want to be able to type “telnet 192.168.88.1 50000” and be connected into the port as serial terminal directly, no typing of anything.

How do I go about doing that? :confused:



Thanks

Remote-access feature is used for it, specify Telnet port that will be redirected to serial-port directly.

/port remote-access> 
allowed-addresses  copy-from  local-address  port      tcp-port
channel            disabled   log-file       protocol

Hello sergejs,

I have tried what you said and it works, but I dont see any data being sent across the port. I thought it was because of old firmware, but after upgrading to OS5.6 I still have the same problem. I have opened a telnet session and hyper terminal on the same PC. Typing from hyperterminal does not show anything on the telnet screen and vice versa.

How do I go about troubleshooting?
What do you think is blocking data?

If you telnet to specific port and type command in. Is there any output?

Nope I don’t get any output whatsoever.

What also happens is that the telnet/tcp session keeps disconnecting a few seconds after I connect. Rarely does it stay connected.

But /system serial-terminal serial0 works solid?