Showing posts with label microtik. Show all posts
Showing posts with label microtik. Show all posts

Thursday, January 13, 2011

open port in microtik

Mikrotik on setting the default to open five ports to access the server, to see the open ports can use the command: 

/ip service pr
It will look something like this 

 

01[admin@MikroTik] > /ip service pr
02Flags: X - disabled, I - invalid
03 #   NAME               PORT  ADDRESS
04 0   telnet             23    0.0.0.0/0
05 1   ftp                21    0.0.0.0/0
06 2   www                80    0.0.0.0/0
07 3   ssh                22    0.0.0.0/0
08 4 X www-ssl            443   0.0.0.0/0
09 5 X api                8728  0.0.0.0/0
10 6   winbox             8291  0.0.0.0/0


suppose we want to close the ports for telnet, the command used is: 

 

 

1/ip service set telnet disabled=yes


ketik :

 

1/ip service pr


and shall appear the sign x in the telnet, as in www-ssl and API. 
want to open the port if disabled = no 

 

1/ip service set telnet disabled=yes

   Cwim