How to set up AnyDesk blocking via MikroTik

Site Expert
Journalist and columnist in the IT field. Website creator and administrator.
Ask a question
Ask an expert
My boss instructed to set up protection against remote access on the PC. Please tell me how to enable AnyDesk blocking for MikroTik router. If possible, describe the process step by step.
You can enter the MikroTik router settings through the Winbox application. Open Winbox, enter the MAC address and login to access the network, click "Connect".

After entering the settings, you need to add AnyDesk to the list of blocked connections. To do this, follow the path IP => Firewall => Layer 7 Protocols, click on +. How to set up AnyDesk blocking via MikroTik

In the window that opens, in the “Name” field, enter the word “BlockList”. In the “Regexp” field, enter the command ^.+(A|B).*$, where:

  • A and B are the names of programs for which you need to block remote connection to the computer;
  • Vertical bar is a separator between program names.

If you want to block remote connection programs, this line might look like ^.+(AnyDesk|TeamViewer).*$. Click “OK” to save the information. How to set up AnyDesk blocking via MikroTik

After that, go to the “Mangle” => “General” tab. To disable AnyDesk connection:

  • In the “Chain” line, select the “Forward” option.
  • In the line “Src. Address” enter the internal IP address of your computer.
  • In the “Connection Mark” line, choose “BlockList_conn”. How to set up AnyDesk blocking via MikroTik

Then go to the “Action” tab, in the first line select the “drop” option and click “OK”. How to set up AnyDesk blocking via MikroTik

Now, when you try to connect to a PC via AnyDesk, the router will automatically terminate the connection.

Rating
( 1 assessment, average 5 from 5 )
Mike Lombardi/ author of the article

QA engineer, head of automated software testing department. Knowledge of Java, C/C++, JSP, HTML, XML, JavaScript, SQL and Oracle PL/SQL. Journalist and columnist in the IT field. Website creator and administrator.

Like this post? Please share to your friends:
Remote access programs
Leave a Reply

;-) :| :x :twisted: :smile: :shock: :sad: :roll: :razz: :oops: :o :mrgreen: :lol: :idea: :grin: :evil: :cry: :cool: :arrow: :???: :?: :!: