en:server:services:firewalld

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:server:services:firewalld [2023/01/26 04:25] – created danen:server:services:firewalld [2023/12/17 00:53] (current) – [Desktop tray] added pacman command for the installation of python-pyqt6 dan
Line 22: Line 22:
 ===== Add & remove ===== ===== Add & remove =====
  
-Allways reload firewalld after any changes:+After every change firewalld should always be reloaded:
  
 <code> <code>
Line 40: Line 40:
 firewall-cmd --add-interface=YOUR-INTERFACE --zone=home --permanent firewall-cmd --add-interface=YOUR-INTERFACE --zone=home --permanent
 firewall-cmd --remove-interface=YOUR-INTERFACE --zone=home --permanent firewall-cmd --remove-interface=YOUR-INTERFACE --zone=home --permanent
 +</code>
 +
 +or
 +
 +<code>
 +nmcli connection show
 +nmcli connection modify 'NAME' connection.zone home
 </code> </code>
  
Line 183: Line 190:
 ===== Desktop tray ===== ===== Desktop tray =====
  
-If you are running a desktop environment on your server or for your desktop computer. +Only if you are running a desktop environment on your server or for your desktop computer. 
  
-The GUI can also be helpful when you need to quickly change zones on specific network locations.+The GUI can also be useful if you need to quickly change zones at specific network locations. 
 + 
 +<code> 
 +pacman -S python-pyqt6 
 +</code>
  
 <code> <code>
Line 199: Line 210:
 notifications=true notifications=true
 show-inactive=true show-inactive=true
 +</code>
 +
 +
 +===== Change runtime to permanent =====
 +
 +The permanent option ''%%--permanent%%'' can be used to set options permanently. These changes are not effective immediately, only after service restart/reload or system reboot. Without the ''%%--permanent%%'' option, a change will only be part of the ''%%--runtime%%'' configuration.
 +
 +<code>
 +firewall-cmd --runtime-to-permanent
 </code> </code>
  • en/server/services/firewalld.1674707142.txt.gz
  • Last modified: 2023/01/26 04:25
  • by dan