Differences

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

Link to this comparison view

open_firewalld_port [2016/10/08 18:07] (current)
imcsk8 created
Line 1: Line 1:
 +====== Open ssh Port using Firewalld ======
 +
 +<​code>​
 +# If you want it permanent
 +# firewall-cmd --zone=public --add-port=22/​tcp --permanent
 +# firewall-cmd --reload
 +
 +#If you want it temporarily
 +#​firewall-cmd --zone=public --add-port=22/​tcp
 +
 +</​code>​
 +
 +===== References =====
 +[[https://​linuxconfig.org/​how-to-open-ssh-port-22-on-rehdat-7-linux-server]]
 +