TP-Link allows you to backup and restore your router's config file. For some reason, they decided to encrypt these backups so you cannot modify them. I think this is dumb. This script lets you decrypt and re-encrypt your config files so you can modify them as you see fit.
I use this to modify my reserved addresses list because editing them through the web interface is terribly slow and cumbersome.
- Go to the router and download the config file from the "Backup & Restore" section of "System Tools".
- Run
ruby tp.rb config.bin
- Edit the created config file
config.cfg
as you please. - Run
ruby tp.rb config.cfg