DHCP Config Generator

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.
  • Scroll to the first config host block.
  • Press Esc for command mode.
  • Type :.,$d then Enter to delete lines.
  • Press i for insert mode and paste the new config.
  • Press Esc, then :wq to save and exit.
  • Finally, reboot the router or restart DHCP /etc/init.d/dnsmasq restart

6. Your new DHCP configuration will load on reboot.





OpenWRT Port Forward Config Generator

Instructions:

  1. In the box below, paste one or more lines in the format:
    Name IP InternalPort ExternalPort
  2. Each line should have four items separated by spaces or tabs.
  3. Click Generate to create the config blocks.
  4. Copy the output and paste it into /etc/config/firewall on your OpenWRT device.
  5. Then run /etc/init.d/firewall restart to apply.