Skip to content

Instantly share code, notes, and snippets.

View m7mdcc's full-sized avatar
🎯
Focusing

Mohammed Faqeeh m7mdcc

🎯
Focusing
View GitHub Profile
@m7mdcc
m7mdcc / nft2ipset.sh
Last active October 19, 2025 19:04 — forked from AcidSlide/nft2ipset
/etc/init.d/nft2ipset: An OPTIMIZED version for nftables set to ipset synchronizer for use with OpenWRT/mwan3
#!/bin/sh
# nft -> ipset sync for MWAN3 (with logfile + daemon support)
set -u
SCRIPT="$(basename "$0")"
TMPDIR="/tmp"
LOGFILE="/tmp/nft2ipset.log"
DAEMON=0