Fritz!Box configuration editing – as text

by wbk | 16 December 2019 23:19

AVM offers a friendly user interface with Fritz!OS for their Fritz!Box’es to unleash a nice range of features. Many things are possible, though some things take quite a few clicks.

One of the things that take many clicks, is arranging port fortwarding for hosts on the LAN.

The easiest way, after a fashion, is to make a backup of the configuration, make changes and import the file again. The difficulty here is that the file is checksummed, and Fritz refuses to read the configuration.

While the ages, solutions have been written in various languages. I use a python script, fritzchecksum, written by Mementum/DRe[1].

It is an pip-installable module, pip install fritzchecksum, takes a Fritz-file as input and returns the old and new checksum for easy search and replace. The program supports automatic editing of the file as well, I have always replaced by hand.

fritzchecksum-master[2]Download[3]

For future reference, the zip contains the current download from github. Should not be necessary to download it here, but you never know!

Endnotes:
  1. Mementum/DRe: https://github.com/mementum
  2. fritzchecksum-master: https://online.osba.nl/blog/wp-content/uploads/2019/12/fritzchecksum-master.zip
  3. Download: https://online.osba.nl/blog/wp-content/uploads/2019/12/fritzchecksum-master.zip

Source URL: https://online.osba.nl/blog/en/2019/12/16/fritzbox-configuration-editing-as-text/