Salta al contenuto principale

CentOS 7 - Networking Support • Using Zones in Firewalld to Block Outbound Access

I want to provide limited access to a machine which runs CentOS Linux release 7.9.2009.

For this purpose, I changed the default zone to a new zone called custom and applied a configuration as follows:


<?xml version="1.0" encoding="utf-8"?><zone>  <service name="ssh"/>  <port protocol="tcp" port="5901"/>  <port protocol="tcp" port="5902"/>  <port protocol="tcp" port="5903"/>  <rule family="ipv4">    <source address=""/>    <drop/>  </rule></zone>
With this configuration, users still have access to the other computers or web. Is it also possible to block such kind of connections in Firewalld?

Statistics: Posted by yildizabdullah — 2023/09/08 16:03:26