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.

Cannot get crowdsec bouncer to work with traefik - showing FORBIDDEN on all Subdomain Pages

Featured Replies

Hi All

 

(First post on here - please be gentle!)

 

I am in the process of setting up Traefik + Crowdsec on my UNRAID server. I have followed Ibracorps documentation/videos to get this set up. Traefik by itself is working as intended and I can access my subdomains (eg overseerr.mydomain.com, authentik.mydomain.com etc) as needed.

 

I have set up crowdsec container and this seems to be working as well in isolation.

 

I have the crowdsec-traefik-bouncer container also up and running (I have added the api key generated from crowdsec container).

 

As soon as I try to connect crowdsec-traefik-bouncer with traefik (ie add in crowdsec-bouncer@file into middlewares in traefik.yml and the settings in fileConfig.yml), I am blocked from accessing my services using subdomain.mydomain.com

 

In the crowdsec-traefik-bouncer logs I can see an error (which I will add into the comments below).

 

Perplexed as to what's causing the issues and I'm at the point of giving up on traefik... Hopefully someone has some ideas and can help me :)

 

 

I will add in all the settings and logs below

 

EDIT: the decisions list within crowdsec does not have any banned IP addresses (will add a pic to comments)

Edited by K18LDP
Added information about decisions list and typos

Solved by K18LDP

  • Author

Crowdsec Container

image.thumb.png.47ecdf03da0308a96f34086a8dc44797.png

  • Author

Acquis.yaml file from Crowdsec

 

image.png.5ad2d3e5b8fbe4431068a78dbf81ae3a.png

  • Author

Crowdsec-traefik-bouncer container 

 

Screenshot 2024-05-13 at 13.55.50.png

  • Author

Logs from Crowdsec_traefik-bouncer https://pastebin.com/iBxc4iMW

 

These are the pertinent logs I believe they show the errors when trying to access both locally and externally

Edited by K18LDP

  • Author

Traefik container:

Screenshot2024-05-13at13_59_19.thumb.png.aca5cd92242946c8627424bbd865089f.png

Screenshot 2024-05-13 at 13.59.56.png

  • Author

Example of webpage when I open subdomain.mydomain.comScreenshot2024-05-13at14_05_51.thumb.png.01de5e9bb05e25d42b4c03c03f1e84f6.png

  • Author

Decisions List from Crowdsec

image.png.f4764995ae171a8ff23632d873a7d6e6.png

image.png

  • Author

cscli metrics

image.thumb.png.ca0328f3a84ff2d76d0d1f7ad1994fef.png

 

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.