OS/CentOS

CentOS7 방화벽 설정

강서버 2020. 6. 22. 22:30
728x90
반응형

$ sudo vi /etc/firewalld/zones/public.xml

 

<?xml version="1.0" encoding="utf-8"?>
<zone>
  <short>Public</short>
  <description>For use in public areas. You do not trust the other computers on networks to not harm your computer. Only selected incoming connections are accepted.</description>
  <service name="ssh"/>
  <service name="dhcpv6-client"/>
  <service name="mysql"/>
  <service name="http"/>
</zone>

728x90
반응형

'OS > CentOS' 카테고리의 다른 글

Check CentOS version  (0) 2020.09.09
MariaDB yum repo setting  (0) 2020.06.22
CentOS7 + MariaDB 10.4 install  (0) 2020.06.22
CentOS7 커널 패키지 제한  (0) 2020.05.14
CentOS7 Timezone Setting  (0) 2019.11.20