
ファイアウォール設定の管理を一元化し効率化するために設計された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を通じてサポートをご検討ください: