mirror of
https://github.com/bunkerity/bunkerweb-plugins.git
synced 2026-04-26 04:35:52 +03:00
[GH-ISSUE #35] [PLUGIN] crowdsec central lapi #14
Labels
No labels
bug
bug
clamav
crowdsec
documentation
enhancement
enhancement
enhancement
pull-request
question
virustotal
virustotal
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/bunkerweb-plugins#14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @celevra on GitHub (Jan 11, 2024).
Original GitHub issue: https://github.com/bunkerity/bunkerweb-plugins/issues/35
Plugin
crowdsec
Implementations ideas (optional)
Hi,
i want to connect crowdsec to my central lapi running on an other host.
but the docker container everytimes registers with the local server and overwrites the local_api_credentials.
what is the way to connect crowdsec to a central lapi?
regards
Code of Conduct
@celevra commented on GitHub (Jan 11, 2024):
to answer my own question:
bunkerweb connects directly as a bouncer with the predefined username bunkerweb
So you need to register a new bouncer on the central lapi:
the command will give you an api key, that is the one that you fill into
in CROWDSEC_API you fill your central lapi URL
then you just need a local crowdsec that is reading the nginx logs but you won't need a extra crowdsec container
@fl0ppy-d1sk commented on GitHub (Jan 15, 2024):
Hello @celevra,
Can we consider it as solved ?