Community discussions

MikroTik App
 
ccr
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 83
Joined: Mon Oct 23, 2006 10:40 pm
Location: Iowa, USA

How to telnet with non-standard port

Thu Apr 10, 2008 7:14 am

Does anyone know how to telnet from a Mikrotik to another device via telnet when said devices telnet port is on a non-standard port.

For example:

I want to to telnet to a Trango or Canopy that is on telnet port x, but there is no place to input x when using telnet in Mikrotik. From what I have found, you only telnet to a device if the telnet port is 23. So canopy is no problem if you have the telnet port on 23, mikrotik is no problem is you have telnet port on 23, but that means you are bound to keeping your telnet ports on 23 if you want to telnet from a Mikrotik.

Any ideas?
 
User avatar
yarda
Frequent Visitor
Frequent Visitor
Posts: 74
Joined: Tue May 22, 2007 4:58 pm
Location: Czech Republic - Southern Bohemia
Contact:

Re: How to telnet with non-standard port

Mon Apr 14, 2008 6:03 pm

For example "/system telnet someone.com 25" for asking on 25 TCP port
Does anyone know how to telnet from a Mikrotik to another device via telnet when said devices telnet port is on a non-standard port.

For example:

I want to to telnet to a Trango or Canopy that is on telnet port x, but there is no place to input x when using telnet in Mikrotik. From what I have found, you only telnet to a device if the telnet port is 23. So canopy is no problem if you have the telnet port on 23, mikrotik is no problem is you have telnet port on 23, but that means you are bound to keeping your telnet ports on 23 if you want to telnet from a Mikrotik.

Any ideas?
 
ccr
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 83
Joined: Mon Oct 23, 2006 10:40 pm
Location: Iowa, USA

Re: How to telnet with non-standard port

Sat Apr 19, 2008 7:22 am

That worked. Thanks!
 
User avatar
Ibersystems
Forum Guru
Forum Guru
Posts: 1686
Joined: Wed Apr 12, 2006 12:29 am
Location: Cabrils, Barcelona - Spain
Contact:

Re: How to telnet with non-standard port

Thu May 28, 2009 5:41 pm

I have problems with this...

Look:
[admin@HOTSPOT-VPN] > ping 192.168.1.22
192.168.1.22 64 byte ping: ttl=128 time=1 ms
192.168.1.22 64 byte ping: ttl=128 time<1 ms
192.168.1.22 64 byte ping: ttl=128 time<1 ms
192.168.1.22 64 byte ping: ttl=128 time<1 ms
192.168.1.22 64 byte ping: ttl=128 time<1 ms
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 0/0.2/1 ms
[admin@HOTSPOT-VPN] > system telnet 192.168.1.22 21
[admin@HOTSPOT-VPN] > system telnet 192.168.1.22 80
Don't work in 3.13 ¿?

In my windows console it works.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: How to telnet with non-standard port

Fri May 29, 2009 1:03 am

just checked in 3.24:
[admin@MikroTik] > sy telnet 192.168.0.1 80
Trying 192.168.0.1...
Connected to 192.168.0.1.
Escape character is '^]'.
GET / HTTP/1.0

HTTP/1.1 302 Found
...
 
User avatar
Ibersystems
Forum Guru
Forum Guru
Posts: 1686
Joined: Wed Apr 12, 2006 12:29 am
Location: Cabrils, Barcelona - Spain
Contact:

Re: How to telnet with non-standard port

Fri May 29, 2009 10:57 am

It works in 3.24, not in 3.13 ; )

[admin@HOTSPOT-VPN] > system telnet 192.168.1.56 10000
Trying 192.168.1.56...
Connected to 192.168.1.56.
Escape character is '^]'.


Thanks,
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26823
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: How to telnet with non-standard port

Fri May 29, 2009 11:20 am

ummm ... upgrade?
 
User avatar
Ibersystems
Forum Guru
Forum Guru
Posts: 1686
Joined: Wed Apr 12, 2006 12:29 am
Location: Cabrils, Barcelona - Spain
Contact:

Re: How to telnet with non-standard port

Fri May 29, 2009 11:29 am

I did! xD

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Partial, zeynelyenici and 55 guests