Uploaded February 2026 | Updated November 2026, 3 hours ago
๐ MikroTik Firewall Filter Rules Explained | Secure Your Router Against Attacks
In this video, we dive deep into MikroTik RouterOS firewall filter rules and show you how to secure your router and network using a clean, effective, and real-world firewall configuration.
Youโll learn how to:
โ Block invalid connections on input and forward chains
โ Allow only established and related traffic
โ Safely enable ICMP (ping) for monitoring
๐ซ Detect and block port scanners automatically
๐ Completely block WAN access to the router
๐ Allow LAN to WAN internet access only
๐ Drop all other unauthorized traffic
This setup is ideal for:
Home networks ๐
Small offices ๐ข
ISP edge routers ๐
Anyone looking to harden MikroTik security
๐ง Firewall Rules Covered in This Video
Input chain protection (router security)
Forward chain filtering (LAN โ WAN traffic)
Port scan detection using PSD
Address lists for automated blocking
Best practices for WAN interface protection
๐ Why This Firewall Configuration Matters
Without proper firewall rules, your MikroTik router is exposed to:
Brute-force attacks
Port scanning
Unauthorized WAN access
Malicious traffic
This video helps you understand every rule, not just copy-paste it.
๐ Firewall Filter Rules in the video
/ip firewall filter
add action=drop chain=input comment="Drop invalid input" connection-state=invalid
add action=accept chain=input comment="Allow established input" connection-state=established,related
add action=accept chain=input comment="Allow ICMP (Ping)" protocol=icmp
add action=add-src-to-address-list address-list=port_scanners address-list-timeout=1d chain=input comment="Detect port scans" protocol=tcp psd=21,3s,3,1
add action=drop chain=input comment="Drop port scanners" src-address-list=port_scanners
add action=drop chain=input comment="Drop all WAN access to router" in-interface=ether1
add action=drop chain=forward comment="Drop invalid forward" connection-state=invalid
add action=accept chain=forward comment="Allow established forward" connection-state=established,related
add action=accept chain=forward comment="LAN to WAN" out-interface=ether1 src-address=10.1.0.0/16
add action=drop chain=forward comment="Drop everything else forward"
๐ If you found this helpful, like the video, subscribe, and share it with other MikroTik users.
๐ฌ Questions or improvements? Drop them in the comments!
๐ธ Buy me a coffee :
buymeacoffee.com/liv4it
๐ธ Support channel & make donation :
paypal.me/aminenina/10
๐ธ Subscribe for more videos :
Youtube: youtube.com/user/aminosninatos
๐ธ Follow me On Social Media
Facebook : facebook.com/aminosninatos
***********************************************************************
๐ธ How To Secure Your MikroTik Router โ Complete RouterOS Hardening Guide
youtu.be/Hb0hiZLOzfg
๐ธ MikroTik RouterOS Connect LAN Network To The Internet
youtu.be/CSU-GqJF27k
๐ธ MikroTik RouterOS Basic Configuration | PPPoE Internet Setup Step-by-Step
youtu.be/-XA2nMEz51M
๐ธ How to Install MikroTik RouterOS Long-Term (LTS) on VMware ESXi | Step-by-Step Guide
youtu.be/bZaempHD84I
๐ธ MikroTik RouterOS LTS Explained & Install on Proxmox VE
youtu.be/NRyGPpnQGp8
๐ธ How To Install Packages On Immutable OS Fedora Silverblue
youtu.be/EfEQnRb0o2s
๐ธ Fedora Silverblue Linux Install on Proxmox VE
youtu.be/28pqb52eaJ4
๐ธ Proxmox Containers with Fedora CoreOS Install
youtu.be/iEKlltIsbkE
๐ธ How To run Docker containers (OCI Images) natively in Proxmox 9.1
youtu.be/atOEMusLVtQ
๐ธ Proxmox Install ProxMenux Monitor
youtu.be/VpRGceK8ToQ
๐ธ How To Upgrade Proxmox VE 8 To Version 9
youtu.be/Vp5eabZZmbw
๐ธ How To Remove A Proxmox Node From A Proxmox Cluster Without Reinstalling It
youtu.be/-qPpCjskLOg
๐ธ Achieving Quorum in a Two Node Proxmox Cluster
youtu.be/vnUsD2-RxKc
๐ธ Proxmox VM Migration In Cluster
youtu.be/T3A5WzW-KDc
๐ธ How To Passthrough Physical Network Cards NIC to VM like PFsense in Proxmox
youtu.be/kmd4l66Tr2g
๐ธHow To Install Uptime Kuma a Self Hosted Monitoring Application on Proxmox
youtu.be/cCxgkHd0E9Y
๐ธHow To Import a ESXI VM In Proxmox Virtual Environment
youtu.be/GJQTwfzh7iQ
๐ธHow To Install an SSL Certificate on Proxmox
youtu.be/lCkrsaDEiT4
๐ธ How To Monitor Proxmox Using InfluxDB and Grafana
youtu.be/qWvcm5NzuCI
๐ธ Proxmox Backup Server Backup & Restore Operations
youtu.be/RSXrE8uBOEM
๐ธHow to Configure the Firewall on Proxmox
youtu.be/SnjBjU9irtg
๐ธ How to Install Proxmox QEMU Guest Agent on Ubuntu
youtu.be/ZpEYkA4C4jY
***********************************************************************
#MikroTik #RouterOS #MikroTikSecurity
๐ MikroTik Firewall Filter Rules Explained | Secure Your Router Against Attacks
In this video, we dive deep into MikroTik RouterOS firewall filter rules and show you how to secure your router and network using a clean, effective, and real-world firewall configuration.
Youโll learn how to:
โ Block invalid connections on input and forward chains
โ Allow only established and related traffic
โ Safely enable ICMP (ping) for monitoring
๐ซ Detect and block port scanners automatically
๐ Completely block WAN access to the router
๐ Allow LAN to WAN internet access only
๐ Drop all other unauthorized traffic
This setup is ideal for:
Home networks ๐
Small offices ๐ข
ISP edge routers ๐
Anyone looking to harden MikroTik security
๐ง Firewall Rules Covered in This Video
Input chain protection (router security)
Forward chain filtering (LAN โ WAN traffic)
Port scan detection using PSD
Address lists for automated blocking
Best practices for WAN interface protection
๐ Why This Firewall Configuration Matters
Without proper firewall rules, your MikroTik router is exposed to:
Brute-force attacks
Port scanning
Unauthorized WAN access
Malicious traffic
This video helps you understand every rule, not just copy-paste it.
๐ Firewall Filter Rules in the video
/ip firewall filter
add action=drop chain=input comment="Drop invalid input" connection-state=invalid
add action=accept chain=input comment="Allow established input" connection-state=established,related
add action=accept chain=input comment="Allow ICMP (Ping)" protocol=icmp
add action=add-src-to-address-list address-list=port_scanners address-list-timeout=1d chain=input comment="Detect port scans" protocol=tcp psd=21,3s,3,1
add action=drop chain=input comment="Drop port scanners" src-address-list=port_scanners
add action=drop chain=input comment="Drop all WAN access to router" in-interface=ether1
add action=drop chain=forward comment="Drop invalid forward" connection-state=invalid
add action=accept chain=forward comment="Allow established forward" connection-state=established,related
add action=accept chain=forward comment="LAN to WAN" out-interface=ether1 src-address=10.1.0.0/16
add action=drop chain=forward comment="Drop everything else forward"
๐ If you found this helpful, like the video, subscribe, and share it with other MikroTik users.
๐ฌ Questions or improvements? Drop them in the comments!
๐ธ Buy me a coffee :
buymeacoffee.com/liv4it
๐ธ Support channel & make donation :
paypal.me/aminenina/10
๐ธ Subscribe for more videos :
Youtube: youtube.com/user/aminosninatos
๐ธ Follow me On Social Media
Facebook : facebook.com/aminosninatos
***********************************************************************
๐ธ How To Secure Your MikroTik Router โ Complete RouterOS Hardening Guide
youtu.be/Hb0hiZLOzfg
๐ธ MikroTik RouterOS Connect LAN Network To The Internet
youtu.be/CSU-GqJF27k
๐ธ MikroTik RouterOS Basic Configuration | PPPoE Internet Setup Step-by-Step
youtu.be/-XA2nMEz51M
๐ธ How to Install MikroTik RouterOS Long-Term (LTS) on VMware ESXi | Step-by-Step Guide
youtu.be/bZaempHD84I
๐ธ MikroTik RouterOS LTS Explained & Install on Proxmox VE
youtu.be/NRyGPpnQGp8
๐ธ How To Install Packages On Immutable OS Fedora Silverblue
youtu.be/EfEQnRb0o2s
๐ธ Fedora Silverblue Linux Install on Proxmox VE
youtu.be/28pqb52eaJ4
๐ธ Proxmox Containers with Fedora CoreOS Install
youtu.be/iEKlltIsbkE
๐ธ How To run Docker containers (OCI Images) natively in Proxmox 9.1
youtu.be/atOEMusLVtQ
๐ธ Proxmox Install ProxMenux Monitor
youtu.be/VpRGceK8ToQ
๐ธ How To Upgrade Proxmox VE 8 To Version 9
youtu.be/Vp5eabZZmbw
๐ธ How To Remove A Proxmox Node From A Proxmox Cluster Without Reinstalling It
youtu.be/-qPpCjskLOg
๐ธ Achieving Quorum in a Two Node Proxmox Cluster
youtu.be/vnUsD2-RxKc
๐ธ Proxmox VM Migration In Cluster
youtu.be/T3A5WzW-KDc
๐ธ How To Passthrough Physical Network Cards NIC to VM like PFsense in Proxmox
youtu.be/kmd4l66Tr2g
๐ธHow To Install Uptime Kuma a Self Hosted Monitoring Application on Proxmox
youtu.be/cCxgkHd0E9Y
๐ธHow To Import a ESXI VM In Proxmox Virtual Environment
youtu.be/GJQTwfzh7iQ
๐ธHow To Install an SSL Certificate on Proxmox
youtu.be/lCkrsaDEiT4
๐ธ How To Monitor Proxmox Using InfluxDB and Grafana
youtu.be/qWvcm5NzuCI
๐ธ Proxmox Backup Server Backup & Restore Operations
youtu.be/RSXrE8uBOEM
๐ธHow to Configure the Firewall on Proxmox
youtu.be/SnjBjU9irtg
๐ธ How to Install Proxmox QEMU Guest Agent on Ubuntu
youtu.be/ZpEYkA4C4jY
***********************************************************************
#MikroTik #RouterOS #MikroTikSecurity




![๐ MikroTik - Protect Your Network from Malicious IPs Using Q-Feeds
๐ MikroTik - Protect Your Network from Malicious IPs Using Q-Feeds
Hereโs a clear, practical, step-by-step tutorial to protect your network from malicious IPs using Q-Feeds on MikroTik RouterOS.
๐ What is Q-Feeds?
Q-Feeds is a threat-intelligence feed system for MikroTik RouterOS that automatically downloads lists of:
Malicious IPs
Botnets
Scanners
Spam sources
Exploit hosts
Instead of manually adding bad IPs to firewall rules, Q-Feeds keeps your router updated automatically.
โก How It Works (Simple Explanation)
Router downloads malicious IP list
Adds them to firewall address-list
Firewall blocks them automatically
Scheduler keeps updating
Fully automated protection.
๐ Benefits
โ
Automatic updates
โ
No manual IP blocking
โ
Lightweight
โ
Works on small MikroTik devices
โ
Protects against scanners & botnets
โ ๏ธ Important Notes
Never use too many large feeds on low-end devices
Monitor RAM usage
Use timeout (like 1d) to auto-clean old IPs
Always test before deploying in production
๐ CLI Commands & Firewall Filter Rules in the video
/ip firewall address-list
add list=malicious_ips comment=Q-Feeds Threat List
/system script
add name=update-qfeeds source={
:local url https://raw.githubusercontent.com/firehol/blocklist-ipsets/master/firehol_level1.netset;
:local file qfeeds.txt;
/tool fetch url=$url dst-path=$file mode=https;
:foreach line in=[/file get $file contents] do={
/ip firewall address-list add list=malicious_ips address=$line timeout=1d;
}
}
/system scheduler
add name=QFeeds_Update interval=6h on-event=update-qfeeds
/ip firewall filter
add chain=forward src-address-list=malicious_ips action=drop comment=Drop malicious IPs
add chain=input src-address-list=malicious_ips action=drop comment=Protect router from malicious IPs
๐ Donโt forget to like, comment, and subscribe for more MikroTik tutorials, RouterOS guides, and networking tips.
๐ Explore our other videos on MikroTik firewall setup, VPN, QoS, and NAT rules to fully optimize your network.
๐ธ Buy me a coffee :
https://buymeacoffee.com/liv4it
๐ธ Support channel & make donation :
https://www.paypal.me/aminenina/10
๐ธ Subscribe for more videos :
Youtube: https://www.youtube.com/user/aminosninatos
๐ธ Follow me On Social Media
Facebook : https://www.facebook.com/aminosninatos/
***********************************************************************
๐ธ How to Configure DNS over HTTPS (DoH) on MikroTik RouterOS v7 | Step-by-Step Guide
https://youtu.be/UekviUhSu4w
๐ธ How to Configure MikroTik Router as a DNS Server | Step-by-Step Guide (RouterOS v6 & v7)
https://youtu.be/XdcHRmcmm1o
๐ธ MikroTik FastTrack Explained | Boost Your Router Speed & Reduce CPU Usage
https://youtu.be/-uGWSsv5R9Y
๐ธ MikroTik Firewall Filter Rules Explained | Secure Your Router Against Attacks
https://youtu.be/CSPhjxYRU0I
๐ธ How To Secure Your MikroTik Router โ Complete RouterOS Hardening Guide
https://youtu.be/Hb0hiZLOzfg
๐ธ MikroTik RouterOS Connect LAN Network To The Internet
https://youtu.be/CSU-GqJF27k
๐ธ MikroTik RouterOS Basic Configuration | PPPoE Internet Setup Step-by-Step
https://youtu.be/-XA2nMEz51M
๐ธ How to Install MikroTik RouterOS Long-Term (LTS) on VMware ESXi | Step-by-Step Guide
https://youtu.be/bZaempHD84I
๐ธ MikroTik RouterOS LTS Explained & Install on Proxmox VE
https://youtu.be/NRyGPpnQGp8
๐ธ How To Install Packages On Immutable OS Fedora Silverblue
https://youtu.be/EfEQnRb0o2s
๐ธ Fedora Silverblue Linux Install on Proxmox VE
https://youtu.be/28pqb52eaJ4
๐ธ Proxmox Containers with Fedora CoreOS Install
https://youtu.be/iEKlltIsbkE
๐ธ How To run Docker containers (OCI Images) natively in Proxmox 9.1
https://youtu.be/atOEMusLVtQ
๐ธ Proxmox Install ProxMenux Monitor
https://youtu.be/VpRGceK8ToQ
๐ธ How To Upgrade Proxmox VE 8 To Version 9
https://youtu.be/Vp5eabZZmbw
๐ธ How To Remove A Proxmox Node From A Proxmox Cluster Without Reinstalling It
https://youtu.be/-qPpCjskLOg
๐ธ Achieving Quorum in a Two Node Proxmox Cluster
https://youtu.be/vnUsD2-RxKc
๐ธ Proxmox VM Migration In Cluster
https://youtu.be/T3A5WzW-KDc
๐ธ How To Passthrough Physical Network Cards NIC to VM like PFsense in Proxmox
https://youtu.be/kmd4l66Tr2g
๐ธHow To Install Uptime Kuma a Self Hosted Monitoring Application on Proxmox
https://youtu.be/cCxgkHd0E9Y
๐ธHow To Import a ESXI VM In Proxmox Virtual Environment
https://youtu.be/GJQTwfzh7iQ
๐ธHow To Install an SSL Certificate on Proxmox
https://youtu.be/lCkrsaDEiT4
๐ธ How To Monitor Proxmox Using InfluxDB and Grafana
https://youtu.be/qWvcm5NzuCI
๐ธ Proxmox Backup Server Backup & Restore Operations
https://youtu.be/RSXrE8uBOEM
๐ธHow to Configure the Firewall on Proxmox
https://youtu.be/SnjBjU9irtg
๐ธ How to Install Proxmox QEMU Guest Agent on Ubuntu
https://youtu.be/ZpEYkA4C4jY
***********************************************************************
#MikroTik #RouterOS # ๐ MikroTik - Protect Your Network from Malicious IPs Using Q-Feeds](https://i.ytimg.com/vi/CuKNz3_wWIY/mqdefault.jpg)





