Category: Uncategorized
Open-source firewall OS
Network Monitoring on Linux
Windows 11 Installation Bypassing the Microsoft Account
Network Address Translation
Ethernet Lan Cable Types
MikroTik Router Auto Backup via Email
Almost every network administrator takes configuration file backup manually. But MikroTik Router has an E-mail tool by which network administrators can automate configuration file backup regularly via email and can reduce his daily manual task easily.
E-mail toolย is not configured by default in MikroTik RouterOS. So, network administrators must configure E-mail tool as well as do some scripting for getting email backup service. In this article, we are going to see how to configure MikroTik E-mail tool to get configuration file backup via email with a few steps.

MikroTik Router Automated Email Backup Configuration
We will now configure MikroTik E-mail tool so that it can send configuration file backup via email. Complete configuration for storing backup and then sending via email can be divided into 3 steps.
- Email configuration
- Writing script for storing backup and sending Email
- Creating scheduler for executing script regularly
Step 1: MikroTik Router Email Configuration
For sending email from MikroTik RouterOS, we first need to configure sender email. MikroTik does not have a SMTP Server. For this, we have to provide SMTP server as well as email username and password so that MikroTik RouterOS can send mail through that SMTP Server.
So, to setup SMTP Server and email username and password in MikroTik RouterOS, follow the below steps carefully.
- Go to Tools > Email and provide sender email information as below:
Server: SMTP Server IP address (Use your mail server IP or try using Gmail IP: 173.194.77.108)
Port: SMTP Server Port (usually 25 or if you use Gmail SMTP, use 587)
From: Put your email address which will indicate from address for the mail.
User: Put email user name (first part ofย @ย sign) or full email address if applicable.
Password: Put the email password. - Alternatively, we can do cmd:/tool e-mail
set address=173.194.77.108
set port=587
set from=systemzonedotnet@gmail.com
set user= systemzonedotnet
set password=*******
Where 173.194.77.108 is Gmail SMTP Server IP, systemzonedotnet@gmail.com is a test mail ID created for this article and โ*******โ is the password. - For checking email configuration, send a test mail from MikroTik with below cmd:/tool e-mail send to=sezan.sayeed@yahoo.com subject=โemail testโ body=โemail testโ tls=yes
If everything is OK, the test email will be sent to the receiver email address. We will now write script for storing backup file and sending via mail.
Step 2: Script for Storing Backup File and Sending via Email
After completing email configuration, we will now write a script that will store backup file and then send the backup file to the desired mail address. Follow below steps to write script in MikroTik RouterOS.
- Go to System > Scripts and click on PLUS SIGN (+) to add a new script. New Script window will appear.
- Type a script name (for example, Mail Backup) in Name input field and then copy and paste the below code in source box.
:log info โMikrotik Backup JOB Started . . . โ
:global backupfile configbackup
:log info โDeleting old Backup File If available otherwise ignore & process further . . . โ
/system backup save name=$backupfile
:log info โBackup process pausing for 10s so it complete creating backup fileโ
:delay 10s
:log info โStart Sending Backup File via Email using GMAIL SMTPย . . .โ tool e-mailsend to=sezan.sayeed@yahoo.com subject=([/system clock get date] . \ โ MikroTik Backupโ) body=โMikroTik email Backupโ tls=yes file=$backupfile
:delay 40s
:log info โBackup Finishedโ
:log info โDeleting Backup File. All Done.โ
/file remove $backupfile - Now click Apply and OK button for saving this script.
- You can run this script manually by clicking Run Script button or typing this cmd: >ย system script run 0ย
Script for storing configuration file backup and sending the file via email is now ready. We will now create a scheduler so that this script can be run regularly at a fixed time.
Step 3: Scheduler for Executing Script Regularly
We have created script for storing configuration file and sending via mail. But the script cannot execute itself. So, we have to create a scheduler that will execute the above script regularly at our desired time. For creating a scheduler in MikroTik RouterOS, follow below steps.
- Go to System > Schedulerย and click on PLUS SIGN (+) to add new scheduler.
- Type scheduler name inย Nameย input box and put script executing time inย Start Time input box. For example, if you want to execute the script at 5:30 PM, put the time as 17:30:00.
- Put sending time interval at Intervalย input field. For example, if you want to execute the script daily, put the value as 24:00:00
- Now put your script name that you have provided at step 2(here, Mail Backup) in On Event box and then click Apply and OK button.
Scheduler is now ready. If everything is OK, MikroTik Router will send a mail regularly to the desired email address where configuration file should have attached.
You should follow above steps one by one otherwise your desired result may not come. If you face difficulty to do above steps properly, please watch the video tutorial carefully aboutย MikroTik Router Auto Backup via Email. I hope, it will reduce your confusion.
Note:ย This configuration has been done inย MikroTik Router OS version 5.20. If you face any problem in upgraded version, please let me know. I will try to solve the problem.
MikroTik Router configuration file backup via emailย has been discussed in this article. I hope, you will now be able to configure MikroTik Router for sending configuration file backup via email. If you face any problem, feel free to discuss in comment or contact me fromย Contactย page. I will try my best to stay with you.
๐๐ก๐๐ญ ๐ข๐ฌ ๐๐๐๐?
VLAN (๐๐๐๐ก๐ข๐๐ ๐ฟ๐๐๐๐ ๐ด๐๐๐ ๐๐๐ก๐ค๐๐๐) is a basic networking technology that allows us to logically separate devices within a single physical network. Think of it as creating multiple virtual networks on one switch, giving you control over performance, security, and network managementโall without the need for additional hardware.
๐๐ก๐ฒ ๐ฌ๐ก๐จ๐ฎ๐ฅ๐ ๐ฒ๐จ๐ฎ ๐๐๐ซ๐ ๐๐๐จ๐ฎ๐ญ ๐๐๐๐?
In today’s fast-paced tech landscape, VLANs are essential for optimizing network performance and flexibility. Whether you’re in a business, educational institution, or a data center, VLANs provide benefits that can transform your network.
๐๐๐ซ๐ ๐๐ซ๐ ๐ญ๐ก๐ ๐๐๐ง๐๐๐ข๐ญ๐ฌ ๐จ๐ ๐๐๐๐:
1) Network Segmentation
VLANs enable logical separation of devices based on functions, departments, or needs. For example, you can set up VLANs for Staff, IT department, and guests to ensure separation and better control.

ARP (Address Resolution Protocol)
ARP maps a Layer 3 IP address to an Unknown Layer 2 MAC address, which is key for Nic-to-Nic communication at the data link layer.
Here’s a quick overview:
1. PC1 needs PC3’s MAC and IP address to communicate.
2. The IP can be static or assigned dynamically via DHCP.
3. To test connectivity, John use PC1 to ping PC3 in the same LAN.
How it works:
– PC1 sends an ARP request to resolve PC3’s MAC address.
– The ARP request is broadcast, with unknown destination MAC set to all F’s.
– PC3 replies with its MAC address with an ARP reply, allowing PC1 to send the ICMP request to eventually get an ICMP reply from PC3.
Understanding ARP is key to knowing how data moves through a network for effective communication and to troubleshoot various issues.
Animation credit: NetworkAcademy.IO

Network Attacks – Distributed Denial Of Service

A firewall OS is a specialized operating system designed to run on dedicated hardware, offering advanced tools to control and monitor network traffic. It enforces security policies, supports VPNs and intrusion detection, and is highly customizable for specific needs
Here are a list of open-source firewall OS ๐
Find pdf books with all my Linux and cybersecurity related infographics at https://study-notes.org