Block a program by firewall-cmd.

Issues related to configuring your network
Post Reply
hack3rcon
Posts: 757
Joined: 2014/11/24 11:04:37

Block a program by firewall-cmd.

Post by hack3rcon » 2019/01/03 20:35:52

Hello.
Is it possible to block a program by firewall-cmd? For example, block a browser.

Thank you.

User avatar
jlehtone
Posts: 4523
Joined: 2007/12/11 08:17:33
Location: Finland

Re: Block a program by firewall-cmd.

Post by jlehtone » 2019/01/03 21:43:38


hack3rcon
Posts: 757
Joined: 2014/11/24 11:04:37

Re: Block a program by firewall-cmd.

Post by hack3rcon » 2019/01/04 05:58:12

jlehtone wrote:
2019/01/03 21:43:38
Possibly. An example: https://access.redhat.com/discussions/3414921
I see that this example is about "Apache". Firewalld just can block predefined app? If I want to block Firefox or... then?

hack3rcon
Posts: 757
Joined: 2014/11/24 11:04:37

Re: Block a program by firewall-cmd.

Post by hack3rcon » 2019/01/05 08:45:26

Excuse me, I'm a beginner in this field, Is "restrict_" use for define a template?

Post Reply