Pages

Wednesday, July 18, 2018

Dude Monitoring server installation, backup and restore




* DUDE Installation: 
---------------------------
* First adjust Router OS version with Dude-Server version
* for example, if RouterOS version 6.40.8 and download Dude-server with 6.40.8 version
from
https://mikrotik.com/download

also check router specifications like ... ( mipsle, mipsbe, ppc, x86, mmips, arm )

* Put packages to files and reboot

* /dude set enabled=(yes/no)

* /dude print
         enabled: yes
         data-directory: dude
          status: running

* by default all The Dude data is stored on system disk, if you wish to change it's location the use this command:

* /dude set data-directory=(new_db_path)

* dwonlaod dude client for windows to access/monitor/manage from windows


* connect dude server from windows dude client and configure as your requirement

** Backup 


/dude export-db  backup-file=dude-backup-18-7-2018

** Restore


/dude import-db  backup-file=dude-backup-18-7-2018



Thursday, July 12, 2018

MikroTik Multiple Gateway redundancy failover by Netwatch and firewall




MikroTik Multiple Gateway redundancy by Netwatch and firewall

* Exampe two WAN Internet
ether1 = wan1 = GW IP 192.168.10.1
ether2 = wan2 = GW IP 172.16.1.1\

* First make sure source gw ip not reachable via another interface ...

/ip firewall filter add chain output dst-address = 192.168.10.1 out-interface=ether1 action=accept
/ip firewall filter add chain output dst-address = 192.168.10.1  action=drop


/ip firewall filter add chain output dst-address = 172.16.1.1 out-interface=ether2 action=accept
/ip firewall filter add chain output dst-address = 172.16.1.1  action=drop


** Then create rules for ip -> route with gateway priority

** Then create netwatch to check evry 5 seconds
/tool netwatch host=192.168.10.1 interval 00:00:05 UP=/ip route enable 0 Down= /ip route disable 0
/tool netwatch host=172.6.1.1 interval 00:00:05 UP=/ip route enable 1 Down= /ip route disable 1