What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Tutorial [Script Collection] Asuswrt-Merlin helpers for WireGuard, Dual WAN, USB SSD, and more

kuchkovsky

Regular Contributor
Hey everyone. I've created a small collection of scripts for my own setup, mostly to add missing features.

Recently, I decided to create documentation and open source it - maybe it will be useful to someone else too:

Here's what's included:
  • WireGuard client port forwarding (DNAT to wgcX)
  • Email alerts when your main WAN drops or comes back, with optional blocking of specific hosts from using the secondary WAN
  • SSD TRIM support for USB drives
  • nextdns-cli SDN integration & automatic updates
  • Traffic Monitor table patch (shows speeds in Mbps instead of MB/s)
  • Router startup notifications via email
  • A tiny shared helper library for host IP resolution, WAN blocking for specific hosts, etc.
 
Thank you.
SSD TRIM support for USB drives very handy as I am using SSD on my Router.
[Using ssd_provisioning_mode.sh & trim_ssd.sh] :):)
 
Looking forward to also enabling TRIM on the SSD in my router (once it is delivered).

And thanks for reminding me about setting up dnsmasq-sdn.post for NextDNS (I created a link to dnsmasq.conf, since the content is the same; will that be OK?).
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top