
방화벽 구성 관리를 중앙 집중화하고 간소화하도록 설계된 Firewall Manager API를 제공합니다.
API 프로젝트를 설정하고 실행하려면 다음 단계를 따르세요:
git clone https://github.com/adriyansyah-mf/CentralizedFirewall
cd CentralizedFirewall
.env 파일 편집.env 파일의 환경 변수를 설정에 맞게 업데이트하세요.
nano .env
docker compose up -d
이 명령은 분리 모드에서 API를 시작합니다.
컨테이너가 실행 중인지 확인:
docker ps
docker compose down
docker compose restart
수정이 필요하시면 알려주세요! 🚀
sudo dpkg -i firewall-client_deb.deb
nano /usr/local/bin/config.ini
[settings]
api_url = API-URL
api_key = API-KEY
hostname = Node Hostname (make it unique and same as the hostname on the SIEM)
systemctl daemon-reload
systemctl start firewall-agent
systemctl status firewall-agent
Username: admin
Password: admin
설정 페이지에서 기본 자격 증명을 변경할 수 있습니다.
curl -X 'POST' \
'http://api-server:8000/general/add-ip?ip=123.1.1.99&hostname=test&apikey=apikey&comment=log' \
-H 'accept: application/json' \
-d ''
다음 링크에서 Swagger 문서를 확인할 수 있습니다:
http://api-server:8000/docs
DB=changeme
JWT_SECRET=changeme
PASSWORD_SALT=changme
PASSWORD_TOKEN_KEY=changme
OPENCTI_URL=changme
OPENCTI_TOKEN=changme
이 프로젝트가 도움이 되셨다면 GitHub Sponsors를 통해 지원을 고려해 주세요: