Community discussions

MikroTik App
 
eripey
just joined
Topic Author
Posts: 5
Joined: Mon Apr 23, 2018 5:49 pm

Securing your router

Mon Apr 23, 2018 5:52 pm

https://wiki.mikrotik.com/wiki/Manual:S ... our_Router

I am new to mikrtik and trying to configure the hex router. The above link gives instructions but stuck at disabling of mac-server part, after executing the command I get 'expected end of command'

Am I missing something here?
 
User avatar
ochaconm
Trainer
Trainer
Posts: 28
Joined: Fri Feb 22, 2013 9:39 pm

Re: Securing your router

Tue Apr 24, 2018 12:55 am

Post your command to see if there is any error.
An example to disable MAC-Server, MAC-Ping, and MAC Winbox on Ether1:
[admin@GissellaLojano] > tool mac-server print                             
Flags: X - disabled, * - default 
 #    INTERFACE                                                                  
 0 X* all                                                                        
 1    ether1
[admin@Mikrotik] > /tool mac-server set 1 disabled=yes

[admin@Mikrotik] > /tool mac-server mac-winbox print              
Flags: X - disabled, * - default 
 #    INTERFACE                                                                  
 0 X* all                                                                        
 1    ether1                                                                     
[admin@Mikrotik] > /tool mac-server mac-winbox set 1 disabled=yes 

[admin@Mikrotik] > /tool mac-server ping print                                
  enabled: yes
[admin@Mikrotik] > /tool mac-server ping set enabled=no 


#*******************
#Print results
#*******************
[admin@Mikrotik] > /tool mac-server print                        
Flags: X - disabled, * - default 
 #    INTERFACE                                                                  
 0 X* all                                                                        
 1 X  ether1  
[admin@Mikrotik] > /tool mac-server mac-winbox print  
Flags: X - disabled, * - default 
 #    INTERFACE                                                                  
 0 X* all                                                                        
 1 X  ether1                                                                     
[admin@Mikrotik] > /tool mac-server ping  print           
  enabled: no
 
eripey
just joined
Topic Author
Posts: 5
Joined: Mon Apr 23, 2018 5:49 pm

Re: Securing your router

Tue Apr 24, 2018 4:13 pm

Ok, I did the following commands from the wiki securing your router and received the following...
[admin@MikroTik] > /tool mac-server set [find] disabled=yes
expected end of command (line 1 column 22)
I tried your example for the same and below are the same results.
[admin@MikroTik] > /tool mac-server set 1 disabled=yes
expected end of command (line 1 column 22)
in both cases in the terminal window, the '[' and '1' are both red.
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7056
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Securing your router

Tue Apr 24, 2018 4:42 pm

Discovery configuration syntax is changed, it uses interface lists now
https://wiki.mikrotik.com/wiki/Manual:I ... figuration
 
eripey
just joined
Topic Author
Posts: 5
Joined: Mon Apr 23, 2018 5:49 pm

Re: Securing your router

Tue Apr 24, 2018 4:50 pm

Discovery configuration syntax is changed, it uses interface lists now
https://wiki.mikrotik.com/wiki/Manual:I ... figuration
I'm not sure what you're saying. Can you give an example command to accomplish in securing the router?
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7056
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Securing your router

Tue Apr 24, 2018 5:03 pm

 
eripey
just joined
Topic Author
Posts: 5
Joined: Mon Apr 23, 2018 5:49 pm

Re: Securing your router

Tue Apr 24, 2018 5:49 pm

Thanks! Those commands work now.
 
eripey
just joined
Topic Author
Posts: 5
Joined: Mon Apr 23, 2018 5:49 pm

Re: Securing your router

Tue Apr 24, 2018 5:53 pm

MikroTik caching proxy command has an extra 'set' in the command on the wiki.
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7056
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Securing your router

Tue Apr 24, 2018 5:56 pm

fixed

Who is online

Users browsing this forum: faxxe, holla29, pmcsill, zalciukaz and 97 guests