Firewalld: Difference between revisions

From Halfface
Jump to navigation Jump to search
Line 6: Line 6:
  sudo firewall-cmd --get-default-zone
  sudo firewall-cmd --get-default-zone
  FedoraWorkstation
  FedoraWorkstation
=open port in default zone=
firewall-cmd --add-port=8080/tcp

Revision as of 18:23, 27 February 2020

start firewalld

systemctl start firewalld

look at state of firewalld

firewall-cmd --state

Which is the default zone

sudo firewall-cmd --get-default-zone
FedoraWorkstation

open port in default zone

firewall-cmd --add-port=8080/tcp