1. Paste your MAC, IP, and optional Name below, one per line, separated by whitespace or tabs.
2. Click "Generate Config" to create the DD-WRT configuration blocks.
3. Click "Copy All" to copy the generated config to your clipboard.
4. SSH into your router using:
ssh root@192.168.X.1
(replace X with your subnet).
5. Edit the DHCP configuration file:
vi /etc/config/dhcp to open.config host block.Esc for command mode.:.,$d then Enter to delete lines.i for insert mode and paste the new config.Esc, then :wq to save and exit.reboot the router or restart DHCP /etc/init.d/dnsmasq restart6. Your new DHCP configuration will load on reboot.
Instructions:
Name IP InternalPort ExternalPort
/etc/config/firewall
on your OpenWRT device.
/etc/init.d/firewall restart
to apply.