# openwrt-wan-mac **Repository Path**: dd9394/openwrt-wan-mac ## Basic Information - **Project Name**: openwrt-wan-mac - **Description**: WAN MAC address randomizer for OpenWRT/LEDE - **Primary Language**: Shell - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-27 - **Last Updated**: 2024-11-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## WAN MAC address randomizer for OpenWRT/LEDE ### Purpose This script generates a random MAC address for the WAN interface on an OpenWRT/LEDE router. It is implemented as an [init script](https://wiki.openwrt.org/doc/techref/initscripts), so it is able to randomize the MAC address every time the router restarts. ### Dependencies Nothing special. It should work on a base OpenWRT/LEDE system. ### Usage 1. Copy `wan-mac` to `/etc/init.d/` 2. Make sure the file is executable (`chmod +x /etc/init.d/wan-mac`) 3. Modify the `START` line in the file if you'd like to customize the init order (optional) 4. Enable the service so it will randomize the MAC address on every boot (`/etc/init.d/wan-mac enable`) 5. Restart your router or start the service manually (`/etc/init.d/wan-mac start`) ### Notes Tested on: - TP-Link TL-WR1043ND 1.0 running OpenWRT Chaos Calmer - TP-Link Archer C2600 (AC2600) running LEDE snapshot ### License WTFPL