Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

CrowdSec LAPI

Featured Replies

Ich verzweifel etwas an dem CrowdSec Container in Unraid.
Auf meiner Firewall läuft CrowdSec bereits mit Agent und Bouncer, LAPI ist aktiv, lässt sich verbinden alles passt usw.
Neue Maschine habe ich generiert mit login name, API passwort

Aber jetzt in Unraid:
Die "local_api_credentials.yaml" lässt sich nicht bearbeiten, nach jeden neustart wird sie gelöscht und neu generiert.
Dann habe ich versucht per Variablen, mit "CROWDSEC_LAPI_URL" etc ignoriert er komplett und wenn ich die DSN als Variable angebe geht er in eine dauer restart schleife.

Man kann erfolgreich sich mit dem LAPI verbinden mit dem Befehl:
cscli lapi register -u http://IPADRESSE:8080
Alles wunderbar, verbindung passt, ABER: Einmal den CrowdSec Container neustarten und er löscht die LAPI, schreibt wieder 127.0.0.1 und es gibt keine Verbindung mehr.

Config Ordner habe ich natürlich auf dem Host gemountet.

Wie bekommt man das hin, sich mit einer CrowdSec LAPI zu verbinden ohne das es bei jeden neustart gelöscht wird?

Edited by EliteGroup

Solved by EliteGroup

  • Author
  • Solution

Ok nach 3 Tagen suche habe ich es doch geschafft, in Unraid fehlen Variablen.

Zuerst auf der Firewall / Hauptmaschine eine neuen Maschinen API-Key erstellen und speichern mit zb:
cscli machines add unraid-agent --auto -f -

In Unraid "CrowdSec" diese Variablen erstellen und die gespeicherten API Daten eintragen:
DISABLE_LOCAL_API=true

AGENT_USERNAME=API_USERNAME_EINFÜGEN

AGENT_PASSWORD=API_KEY_EINFÜGEN

LOCAL_API_URL=http://IPADRESSE_EINFÜGEN:8080

Dann läuft er als CrowdSec Agent wie er soll und man kann machen was man will, weitere logs und collections hinzufügen

Edited by EliteGroup

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.