'''Modify {{project_name_workstation_short}} User Firewall Settings'''
'''Note''': If no changes have yet been made to {{project_name_short}} Firewall Settings, then the {{project_name_short}} User Firewall Settings File /etc/whonix_firewall.d/50_user.conf appears empty (because it does not exist). This is expected.
Ensure the VM has sudo access first. If PERSISTENT Mode | SYSMAINT Session is available in some form, you must boot into this mode before these steps will work.
Platform specific. Select your platform.
{{Tab
|type=controller
|content=
{{Tab
|title= ==== Graphical {{project_name_workstation_short}} USER Session ====
|image=[[File:Logo_box.png|25px]]
|addToClass=info-box
|content=
Start Menu → System Tools → User Firewall Settings
}}
{{Tab
|title= ==== Graphical {{project_name_workstation_short}} SYSMAINT Session ====
|image=[[File:Logo_box.png|25px]]
|addToClass=info-box
|content=
System Maintenance Panel → Open Terminal → run /usr/libexec/whonix-firewall/firewall50user
}}
{{Tab
|title= ==== [[Qubes|Qubes-Whonix-Workstation]] ====
|image=[[File:Qubes-logo-icon.png|25px]]
|addToClass=info-box
|content=
Qubes App Launcher (blue/grey "Q") → {{project_name_workstation_short}} App Qube (commonly called {{Code2|{{project_name_workstation_vm}}}}) → QTerminal → run sudoedit /usr/local/etc/whonix_firewall.d/50_user.conf
}}
{{Tab
|title= ==== Terminal {{project_name_workstation_short}} ====
|image=[[File:Utilities-terminal.png|25px]]
|addToClass=info-box
|content=
Open file /usr/local/etc/whonix_firewall.d/50_user.conf with root rights.
{{CodeSelect|code=
sudoedit /usr/local/etc/whonix_firewall.d/50_user.conf
}}
}}
}}
/etc/whonix_firewall.d/30_whonix_workstation_default.conf.
The {{project_name_short}} Global Firewall Settings File /etc/whonix_firewall.d/30_whonix_workstation_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.
Also see: [[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_workstation_template}} → QTerminal → run nano /etc/whonix_firewall.d/30_whonix_workstation_default.conf
If using a graphical {{project_name_workstation_short}}, complete these steps.
Start Menu → System Tools → Global Firewall Settings
If using a terminal {{project_name_workstation_short}}, complete these steps.
In {{project_name_workstation_short}}, view the global firewall configuration file in an editor.
{{CodeSelect|code=
nano /etc/whonix_firewall.d/30_whonix_workstation_default.conf
}}
}}
}}