Community discussions

MikroTik App
 
sizeofbool
just joined
Topic Author
Posts: 17
Joined: Fri Oct 13, 2017 2:09 pm

How do I perform a quick check of listening ports on MikroTik devices?

Sat Nov 04, 2017 1:44 pm

Is there a "netstat"-like or "ss"-like CLI command available in RouterOS?
 
User avatar
Anumrak
Forum Guru
Forum Guru
Posts: 1174
Joined: Fri Jul 28, 2017 2:53 pm

Re: How do I perform a quick check of listening ports on MikroTik devices?

Sat Nov 04, 2017 2:48 pm

I think no.
 
User avatar
horhay
newbie
Posts: 29
Joined: Sat Jun 20, 2015 7:19 pm
Location: Ontario, Canada
Contact:

Re: How do I perform a quick check of listening ports on MikroTik devices?

Mon Nov 06, 2017 9:50 pm

This page lists the default services and ports used.

https://wiki.mikrotik.com/wiki/Manual:IP/Services
 
sizeofbool
just joined
Topic Author
Posts: 17
Joined: Fri Oct 13, 2017 2:09 pm

Re: How do I perform a quick check of listening ports on MikroTik devices?

Wed Nov 08, 2017 3:18 am

This page lists the default services and ports used.

https://wiki.mikrotik.com/wiki/Manual:IP/Services
I've asked about ports currently in listening state, not just any port list.
And for an example, "/ip services" doesn't list ports for DNS service (53/tcp, 53/udp) provided by MikroTik device.
 
dcowsill
just joined
Posts: 4
Joined: Wed Nov 08, 2017 5:03 am
Location: Canada

Re: How do I perform a quick check of listening ports on MikroTik devices?

Wed Nov 08, 2017 5:23 am

I'd suggest using NMAP to discover open ports on the device from your PC.
nmap 192.168.88.1
Substitute '192.168.88.1' with the LAN IP address of your router. You can perform the same check from outside the network on a cellphone hotspot as well using your WAN IP address, but beware that Android hotspots show false positives for port 80 and something else I can't remember off the top of my head.

Hope that helps.
 
p3rad0x
Long time Member
Long time Member
Posts: 640
Joined: Fri Sep 18, 2015 5:42 pm
Location: South Africa
Contact:

Re: How do I perform a quick check of listening ports on MikroTik devices?

Wed Nov 08, 2017 10:43 am

The device will only listen ons ports, 8728 (api), 8729(api-ssl), 21,22,23,8291(winbox) and port 80. (Only if its enabled in Ip --> services)

If allow remote requests is enabled in ip dns the in will listen on port 53 udp.

Who is online

Users browsing this forum: No registered users and 16 guests