User Tools

Site Tools


useful:mikrotik

Contents Page

MikroTik RouterOS

Backup DHCP leases

Use command:

   /ip dhcp-server lease print file=lease detail
   

Or can use “terse” option instead of “detail”. Using “detail” will include information on the static allocations. Result is

Add to Firewall

Paste is not supported for web terminal, but using SSH can enter e.g.

   /ip firewall filter add action=accept chain=forward dst-address=52.208.184.61 dst-port=587 protocol=tcp

Set DNS servers in DHCP lease

How to use DHCP option 43 to adopt Ubiquiti router

SSH to a Ubiquiti AP

Need to use an extra parameter, recent Linux restricts SSH options. Example:

   ssh -oHostKeyAlgorithms=+ssh-dss root@10.3.76.115
useful/mikrotik.txt · Last modified: 2024/07/01 20:08 by admin