Edit saved configuration file to make a widespread change?

Discuss and get help to configure and maintain CacheGuard
Post Reply
Douglas
Posts: 55
Joined: 15 Feb 2018 12:04

Edit saved configuration file to make a widespread change?

Post by Douglas »

I’m thinking of changing my internal network IP range. As CG is my DHCP server, would I be safe in running a “find and replace” on the latest saved CG.conf file, replacing say "10.0.10" with say "10.0.12" and loading the new.conf? I appreciate I may break many other things outside CG, but would such an edit, using say Windows Notepad, be okay?
User avatar
david
Posts: 163
Joined: 08 Aug 2015 20:38

Re: Edit saved configuration file to make a widespread change?

Post by david »

Hi Douglas,

Yes of course you can directly modify the textual configuration file and then import (load) it into your CG appliance. A CG configuration file is a textual human readable file containing a set of CG commands. The main reason to have a clear text file is to be able to modify it using the text editor of your choice.

If you plan to replace the network 10.0.10.0/255.255.255.0 by 10.0.11.0/255.255.255.0 it's safer to proceed with the replacement of 10.0.10. by 10.0.11. (please note the final point at the end of those string). Otherwise you may have side effects such as the replacement of 10.0.101.23 by 10.0.111.23.

BR,
David Janeway
CacheGuard Technical Team
https://www.cacheguard.com
Douglas
Posts: 55
Joined: 15 Feb 2018 12:04

Re: Edit saved configuration file to make a widespread change?

Post by Douglas »

That's great, thanks.
Post Reply