Flint 2 (GL-MT6000) OpenWrt custom build
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-10-05 20:30:44 +01:00
.github/workflows Change scheduled time 2025-10-05 20:30:44 +01:00
files Fix remote branch sort; update QoL settings 2025-10-03 10:32:31 +01:00
LICENSE Repository reset 2025-07-31 18:18:07 +01:00
mt6000.config Repository reset 2025-07-31 18:18:07 +01:00
README.md Update README.md 2025-07-31 18:52:33 +01:00

GL-MT6000 custom OpenWrt firmware builder

This repository automates the process of building OpenWrt custom firmware images for MY Flint 2 (GL-MT6000) router, based on MY PREFERENCES and pesa1234's work.

You should not use the firmwares released in this repository unless you have the same preferences/needs. Instead, make a fork and adapt to your needs.

Read this topic in OpenWrt's forum to learn the details about pesa1234's customizations.

Compared to his custom firmware, this firmware adds:

  • WiFi UCODE scripts (faster boot)
  • Wireguard VPN
  • Policy Based Routing (select what goes through VPN and what not)
  • AdBlock Fast (ads and malware blocking at DNS level)

And also:

  • REMOVED: odhcp, upnp, iptables, avahi, samba, usb storage and probably more stuff I forgot to mention.
  • Added the needed packages to use QoS script cake-wg-pbr
  • Some compiler optimizations and build hardening options (cortex-a53+crc+crypto; LTO, MOLD, and more).
  • SSH configuration with strong algorithms and key exchange methods. Check the content of ssh_hardening.config and sshd_config.
  • Quality-of-life enhancements through UCI configuration. Check the content of 999-QOL_config.
  • Some debug and kernel stuff removed.
  • upgrade_custom_openwrt script

Check the content of mt6000.config for details.

About upgrade_custom_openwrt script

I added a script to make upgrading OpenWRT super easy. Just run from a SSH terminal:

  • upgrade_custom_openwrt --now to check if a newer firmware is available and upgrade if so.
  • upgrade_custom_openwrt --wait to wait for clients activity to stop before upgrading.
  • upgrade_custom_openwrt --check to check for new versions but not upgrade the router.

IT IS NOT RECOMMENDED to schedule the script to be executed automatically, although the script is very careful and checks sha256sums before trying to upgrade. Don't blame me if something goes wrong with scripts that YOU run in your router!

Notes:

  • if you fork this repository, the script will be adapted to look for upgrades in your repository.
  • The text output of upgrade_custom_openwrt script will show both in terminal and system logs.

About SSH Hardening

To enhance the security of SSH connections, this firmware includes a hardened SSH configuration. The configuration is derived from recommendations by SSH-Audit and the BSI, it specifies strong key exchange algorithms, ciphers, message authentication codes (MACs), host key algorithms, and public key algorithms. This ensures that only secure and up-to-date algorithms are used for SSH communication.

Contributing

Contributions to this project are welcome. If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request on the GitHub repository.

Acknowledgements