Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- Kibana
- macos
- elastic stack
- hardening
- ELASTIC
- Kibana server is not ready yet
- ssh key 배포
- 보안양파
- 로그인불가
- pfsense
- Windows
- PlayBook
- application security
- freebsd
- bash
- XCP-ng
- 한글가이드
- xe guest utilities
- GitLab
- ansible
- docker
- Elasticsearch
- G-suite
- Proxy
- endpoint security
- proxycfg
- x-pack
- centos 8
- miniconda
Archives
- Today
- Total
선 밖에 선 자유인
firewalld 설정 본문
- /etc/firewalld/zones/public.xml
# service open
<service name="http"/>
<service name="ssh"/>
<service name="https"/>
# 포트별 (service name or port name)
<rule family="ipv4">
<source address="192.168.0.0/24"/>
<port protocol="tcp" port="9300"/>
<accept/>
</rule>
<rule family="ipv4">
<source address="192.168.0.0/24"/>
<service name="syslog"/>
<accept/>
</rule>
# 수동으로 강제 추가
[root@test]# firewall-cmd --add-rich-rule='rule family="ipv4" source address="192.168.0.0/24" service name="syslog" accept' --permanent
# reload
[root@test]# firewall-cmd --reload
Comments