[RELEASE] StealthOS Lite – DNS Leak Protection + TTL/HopLimit Bypass (Travel Router Optimized)
Hi all,
I built a lightweight OpenWrt tool focused on fixing two real problems on travel routers:
- DNS leaks (especially with VPNs like WireGuard / Tailscale)
- Carrier tethering detection (TTL / HopLimit checks)
This project enforces clean routing without breaking complex setups.
WHAT IT DOES
• Forces DNS (Port 53) through the router (IPv4 + IPv6)
• Blocks DNS-over-TLS (Port 853) → forces fallback to controlled DNS
• Preserves Tailscale (100.64.0.0/10 + MagicDNS)
• Applies TTL (IPv4) + HopLimit (IPv6) = 65 (tethering bypass)
• Works with:
- WireGuard
- Tailscale
- Dual-stack IPv4/IPv6
- Multi-WAN setups
SAFETY DESIGN
• Fully idempotent (safe to run multiple times)
• Native fw4 integration (no rule conflicts)
• Automatic rollback on firewall errors
• Clean uninstall script (removes everything, verified against kernel)
• No system file overwrite (surgical changes only)
LIMITATIONS (IMPORTANT)
• DNS-over-HTTPS (DoH, port 443) cannot be blocked without breaking HTTPS
• Some apps may bypass DNS control using DoH
• Advanced routing setups (mwan3 / policy routing) should be tested carefully
INSTALL
SSH into router:
cd /tmp
wget https://raw.githubusercontent.com/OZAMNJ/Openwrt-stealthOs/main/install.sh
chmod +x install.sh
./install.sh
UNINSTALL
cd /tmp
wget https://raw.githubusercontent.com/OZAMNJ/Openwrt-stealthOs/main/uninstall.sh
chmod +x uninstall.sh
./uninstall.sh
TESTED ON
• OpenWrt 22.03+
• Travel routers (GL.iNet class)
• WireGuard + Tailscale combo
• IPv4 + IPv6 networks
WHY I BUILT THIS
While traveling, switching hotspots + VPN + DNS setups kept breaking:
• captive portals
• Tailscale routing
• DNS resolution
This tool stabilizes everything with predictable behavior.
REPO
https://github.com/OZAMNJ/Openwrt-stealthOs
FEEDBACK WELCOME
If you test this on unusual setups (LTE modems, multi-WAN, enterprise networks), let me know what breaks.
That’s where the real improvements come from.
—-
ADMIN NOTE: Any users who wish to use this code should read and understand its operation before installing. It should be noted that the OP is a relatively new user on the forum and thus does not have a known track record. This is not to imply that they are not trustworthy, but without much history, we cannot vouch for the code in terms of both functionality and security.
