{"id":135,"date":"2019-12-16T23:19:02","date_gmt":"2019-12-16T23:19:02","guid":{"rendered":"https:\/\/online.osba.nl\/blog\/?p=135"},"modified":"2019-12-16T23:19:04","modified_gmt":"2019-12-16T23:19:04","slug":"fritzbox-configuration-editing-as-text","status":"publish","type":"post","link":"https:\/\/blog.osba.nl\/en\/2019\/12\/16\/fritzbox-configuration-editing-as-text\/","title":{"rendered":"Fritz!Box configuration editing &#8211; as text"},"content":{"rendered":"\n<p>AVM offers a friendly user interface with Fritz!OS for their Fritz!Box&#8217;es to unleash a nice range of features. Many things are possible, though some things take quite a few clicks.<\/p>\n\n\n\n<p>One of the things that take many clicks, is arranging port fortwarding for hosts on the LAN. <\/p>\n\n\n\n<p>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. <\/p>\n\n\n\n<p>While the ages, solutions have been written in various languages. I use a python script, fritzchecksum, written by <a href=\"https:\/\/github.com\/mementum\">Mementum\/DRe<\/a>. <\/p>\n\n\n\n<p>It is an pip-installable module, <code>pip install fritzchecksum<\/code>,  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. <\/p>\n\n\n\n<div class=\"wp-block-file\"><a href=\"https:\/\/online.osba.nl\/blog\/wp-content\/uploads\/2019\/12\/fritzchecksum-master.zip\">fritzchecksum-master<\/a><a href=\"https:\/\/online.osba.nl\/blog\/wp-content\/uploads\/2019\/12\/fritzchecksum-master.zip\" class=\"wp-block-file__button\" download>Download<\/a><\/div>\n\n\n\n<p>For future reference, the zip contains the current download from github. Should not be necessary to download it here, but you never know!<\/p>\n<p class=\"wpf_wrapper\"><a class=\"print_link\" href=\"\" target=\"_blank\">Print this entry<\/a><\/p><!-- .wpf_wrapper -->","protected":false},"excerpt":{"rendered":"<p>AVM offers a friendly user interface with Fritz!OS for their Fritz!Box&#8217;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 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/blog.osba.nl\/en\/2019\/12\/16\/fritzbox-configuration-editing-as-text\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Fritz!Box configuration editing &#8211; as text&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_locale":"en_US","_original_post":"135","activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[12,15],"tags":[],"class_list":["post-135","post","type-post","status-publish","format-standard","hentry","category-fritz","category-homeserver","en-US"],"_links":{"self":[{"href":"https:\/\/blog.osba.nl\/wp-json\/wp\/v2\/posts\/135","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.osba.nl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.osba.nl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.osba.nl\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.osba.nl\/wp-json\/wp\/v2\/comments?post=135"}],"version-history":[{"count":2,"href":"https:\/\/blog.osba.nl\/wp-json\/wp\/v2\/posts\/135\/revisions"}],"predecessor-version":[{"id":138,"href":"https:\/\/blog.osba.nl\/wp-json\/wp\/v2\/posts\/135\/revisions\/138"}],"wp:attachment":[{"href":"https:\/\/blog.osba.nl\/wp-json\/wp\/v2\/media?parent=135"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.osba.nl\/wp-json\/wp\/v2\/categories?post=135"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.osba.nl\/wp-json\/wp\/v2\/tags?post=135"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}