LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Open a specific port on firewalld (https://www.linuxquestions.org/questions/linux-newbie-8/open-a-specific-port-on-firewalld-4175659203/)

trackstar2000 08-15-2019 04:05 PM

Open a specific port on firewalld
 
For a command like this below, does it open both inbound and outbound? I tested a specific port for ssh and it seems like it does.

I am working on port 80 & 443. Just want a confirmation. Thanks ahead.


firewall-cmd --permanent --add-port=55/tcp

TT

ferrari 08-15-2019 09:52 PM

Yep, that's it in essence....and reload the firewall with

Code:

firewall-cmd — reload
However, this is for inbound access. (Solicited traffic originating from within is allowed.)


https://firewalld.org/documentation/

trackstar2000 08-16-2019 04:48 PM

Quote:

Originally Posted by ferrari (Post 6025625)
Yep, that's it in essence....and reload the firewall with

Code:

firewall-cmd — reload
However, this is for inbound access. (Solicited traffic originating from within is allowed.)


https://firewalld.org/documentation/

Thank you.


All times are GMT -5. The time now is 09:35 AM.