Truy cập Dashboard Wazuh
URL: https://<SERVER_IP>
Login credentials:
- Username:
admin - Password: stored in
/root/wazuh-install-files.tar
Truy cập mật khẩu đã lưu
Toàn bộ mật khẩu mặc định cho Wazuh Manager, API, Indexer và các agent đều được lưu trong file nén tar.
File: /root/wazuh-install-files.tar
Để giải nén mật khẩu:
tar -O -xvf /root/wazuh-install-files.tar wazuh-install-files/wazuh-passwords.txt
Open Ports
Đảm bảo các cổng sau được cho phép trong firewall:
443: Wazuh Dashboard HTTPS9200: Wazuh Indexer API (Elasticsearch)55000: Giao tiếp giữa Agent và Manager (TCP)1514: Wazuh Remoted syslog (TCP)1515: Wazuh Remoted syslog bổ sung (TCP)
Các tệp và thư mục quan trọng
- Password archive:
/root/wazuh-install-files.tar - File cấu hình của Manager:
/var/ossec/etc/(containsossec.conf, rules, decoders) - Manager logs:
/var/ossec/logs/ossec.log - Thư mục dữ liệu của Manager:
/var/ossec/queue/,/var/ossec/active-responses/ - Dashboard configuration:
/etc/wazuh-dashboard/(containsdashboard.yml, SSL certificates) - Dashboard logs:
/var/log/wazuh-dashboard/ - Indexer configuration:
/etc/wazuh-indexer/(containselasticsearch.yml, roles) - Indexer data:
/var/lib/wazuh-indexer/ - Indexer logs:
/var/log/wazuh-indexer/
Service Management
Check status:
systemctl status wazuh-manager
systemctl status wazuh-api
systemctl status wazuh-dashboard
systemctl status wazuh-indexer
Restart services:
systemctl restart wazuh-manager wazuh-api wazuh-dashboard wazuh-indexer
Viewing logs:
tail -f /var/ossec/logs/ossec.log
tail -f /var/log/wazuh-dashboard/wazuh-dashboard.log
tail -f /var/log/wazuh-indexer/wazuh-indexer.log
Lưu ý và khuyến nghị
- Wazuh Dashboard mặc định chạy trên HTTPS.
- Ensure ports
443,9200,55000,1514, and1515được mở để đảm bảo đầy đủ chức năng. - Dùng các mật khẩu đã trích xuất trong
/root/wazuh-install-files.tarđể đăng ký agent và truy cập API.