Whonix Configuration Files
.d style configuration folders
Whonix's modifications provide a few modular flexible.d style configuration folders.
- (Only on Whonix-Gateway.)
- (Only if you build from source code.)
We'll explain it using an example. For example,says.
## Please use "/etc/whonix_firewall.d/50_user" for your custom configuration, ## which will override the defaults found here. When Whonix is updated, this ## file may be overwritten.
The same in other words.
## Instead of editing this file, please create and use the file ## "/etc/whonix_firewall.d/50_user". When Whonix is updated, ## "/etc/whonix_firewall.d/30_default" will be overwritten. Files in folder ## "/etc/whonix_firewall.d/" are sourced in alphabetical order. Anything in ## "/etc/whonix_firewall.d/50_user" will always override the defaults, ## allowing the user to keep their settings after updating Whonix.
The same yet in other words... Files infolders are usually sourced in lexical order. That means, files named will always get overruled by files named .
For example, directly editing dpkg interactive conflict resolution dialog, which would for example look the following.is recommended against. This is because, next time Whonix gets updated, may get new settings and improved settings. You would end up with an
Configuration file `/etc/whonix_firewall.d/30_default' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : background this process to examine the situation The default action is to keep your current version. *** interfaces (Y/I/N/O/D/Z) [default=N] ? N
Modifications coming with Whonix will always fall back to reasonable defaults, if you were still using an old version. However, to prevent such conflicts in the first place, you're better off reading, leaving untouched, copying settings from and pasting them into .
Log in | OpenID | Contact | Impressum | Datenschutz | Haftungsausschluss