Modify {{project_name_gateway_long}} User Firewall Settings. {{Box|text= '''Note''': If no changes have yet been made to {{project_name_short}} Firewall Settings, then the {{project_name_short}} User Firewall Settings File /usr/local/etc/whonix_firewall.d/50_user.conf appears empty (because it does not exist). This is expected. If using [[Qubes|{{q_project_name_long}}]], complete these steps.
In {{project_name_gateway_short}} App Qube. Make sure folder /usr/local/etc/whonix_firewall.d exists. {{CodeSelect|code= sudo mkdir -p /usr/local/etc/whonix_firewall.d }} Qubes App Launcher (blue/grey "Q"){{project_name_gateway_short}} App Qube (commonly called {{Code2|{{project_name_gateway_vm}}}}){{project_name_short}} User Firewall Settings If using a graphical {{project_name_gateway_short}}, complete these steps. Start MenuApplicationsSettingsUser Firewall Settings If using a terminal-only {{project_name_gateway_short}}, complete these steps. In {{project_name_gateway_short}}, open the whonix_firewall configuration file in an editor. {{CodeSelect|code= sudoedit /usr/local/etc/whonix_firewall.d/50_user.conf }}
For more help, press on Expand on the right.
{{Box|text= '''Note: This is for informational purposes only!''' Do not edit /etc/whonix_firewall.d/30_whonix_gateway_default.conf. '''Note''': The {{project_name_short}} Global Firewall Settings File /etc/whonix_firewall.d/30_whonix_gateway_default.conf contains default settings and explanatory comments about their purpose. By default, the file is opened read-only and is not meant to be directly edited. Below, it is recommended to open the file without root rights. The file contains an explanatory comment on how to change firewall settings.
## Please use "/etc/whonix_firewall.d/50_user.conf" for your custom configuration,
## which will override the defaults found here. When {{project_name_short}} is updated, this
## file may be overwritten.
See also [[Configuration Files|Whonix modular flexible .d style configuration folders]]. To view the file, follow these instructions. {{Box|text= If using [[Qubes|{{q_project_name_short}}]], complete these steps. Qubes App Launcher (blue/grey "Q")Template: {{project_name_gateway_template}}Whonix Global Firewall Settings If using a graphical {{project_name_gateway_short}}, complete these steps. Start MenuApplicationsSettingsGlobal Firewall Settings If using a terminal-only {{project_name_gateway_short}}, complete these steps. In {{project_name_gateway_short}}, open the whonix_firewall configuration file in an editor. {{CodeSelect|code= nano /etc/whonix_firewall.d/30_whonix_gateway_default.conf }} }} }}
}}