eripey
April 23, 2018, 2:52pm
1
https://wiki.mikrotik.com/wiki/Manual:Securing_Your_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?
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
April 24, 2018, 1:13pm
3
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.
mrz
April 24, 2018, 1:42pm
4
eripey
April 24, 2018, 1:50pm
5
I’m not sure what you’re saying. Can you give an example command to accomplish in securing the router?
mrz
April 24, 2018, 2:03pm
6
eripey
April 24, 2018, 2:49pm
7
Thanks! Those commands work now.
eripey
April 24, 2018, 2:53pm
8
MikroTik caching proxy command has an extra ‘set’ in the command on the wiki.