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 <code>/usr/local/etc/whonix_firewall.d/50_user.conf</code> appears empty (because it does not exist). This is expected. <u>If using [[Qubes|{{q_project_name_long}}]]</u>, complete these steps.<br /> In {{project_name_gateway_short}} App Qube. Make sure folder <code>/usr/local/etc/whonix_firewall.d</code> exists. {{CodeSelect|code= sudo mkdir -p /usr/local/etc/whonix_firewall.d }} <code>Qubes App Launcher (blue/grey "Q")</code> → <code>{{project_name_gateway_short}} App Qube (commonly called {{Code2|{{project_name_gateway_vm}}}})</code> → <code>{{project_name_short}} User Firewall Settings</code> <u>If using a graphical {{project_name_gateway_short}}</u>, complete these steps. <code>Start Menu</code> → <code>Applications</code> → <code>Settings</code> → <code>User Firewall Settings</code> <u>If using a terminal-only {{project_name_gateway_short}}</u>, 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 }} <div class="toccolours mw-collapsible mw-collapsed"> For more help, press on Expand on the right. <div class="mw-collapsible-content"> {{Box|text= '''Note: This is for informational purposes only!''' Do not edit <code>/etc/whonix_firewall.d/30_whonix_gateway_default.conf</code>. '''Note''': The {{project_name_short}} Global Firewall Settings File <code>/etc/whonix_firewall.d/30_whonix_gateway_default.conf</code> 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. <pre> ## 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. </pre> See also [[Configuration Files|Whonix modular flexible .d style configuration folders]]. To view the file, follow these instructions. {{Box|text= <u>If using [[Qubes|{{q_project_name_short}}]]</u>, complete these steps. <code>Qubes App Launcher (blue/grey "Q")</code> → <code>Template:</code> <code>{{project_name_gateway_template}}</code> → <code>Whonix Global Firewall Settings</code> <u>If using a graphical {{project_name_gateway_short}}</u>, complete these steps. <code>Start Menu</code> → <code>Applications</code> → <code>Settings</code> → <code>Global Firewall Settings</code> <u>If using a terminal-only {{project_name_gateway_short}}</u>, 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 }} }} }} </div> </div> }}