Добавить
Уведомления

Traefik with CrowdSec - the ULTIMATE SECURITY layer! - Tutorial

*Get 200$ worth of credits in the Digital Ocean Cloud: https://link.techwithmarco.com/digitalOcean (*) In this tutorial, I'll show you how to set up #CrowdSec with #Traefik to provide ultimate security for your web applications. CrowdSec is an open-source security stack that helps protect your web applications from attacks, while #Traefik is a reverse proxy that helps route traffic to the right web application. To get started, I'll assume you have already set up Traefik, otherwise have a look at my traefik tutorial https://youtu.be/QC3weuCUr8o. First, I'll show you how to configure CrowdSec and Traefik. Then, I'll show you how to create the "crowdsec_config" folder with the "acquis.yml" file, which allows CrowdSec to read log files of Traefik. I'll also mount the log directory of Traefik to the CrowdSec container so that the CrowdSec container can read the log files of Traefik. Finally, I'll show you how to connect crowdsec with the traefik-crowdsec-bouncer to take action on the above gathered information. You can verify that everything is working by visiting your web application and triggering some attacks. You should see log entries in Traefik's logs showing that the requests were blocked by the Traefik bouncer. Thank you for watching this tutorial. If you have any questions or comments, feel free to leave them in the comments section below. Don't forget to like and subscribe to our channel for more videos like this. Here you can find the tutorials files on my github: https://github.com/marcogreiveldinger/videos/tree/main/crowdsec Terraform - Cloudflare - Github Actions Automation: https://youtu.be/0BNwAEwYZlA Traefik Tutorial: https://youtu.be/QC3weuCUr8o 00:00 - 00:14 Intro 00:15 - 00:50 What is CrowdSec 00:51 - 03:00 Create a new cloud server 03:01 - 06:40 Traefik Setup 06:41 - 11:25 CrowdSec configuration setup 11:26 - 17:20 CrowdSec Bouncer - take action on information 17:21 - 21:16 CrowdSec Console - Dashboard overview 21:17 - 22:10 CrowdSec Hub community 22:11 - 22:34 Outro https://www.crowdsec.net/ https://traefik.io/traefik/ https://www.digitalocean.com/ #digitalocean Music from #Uppbeat (free for Creators!): https://uppbeat.io/t/avbe/night-in-kyoto License code: HZXPGBZOG9PSJT0W Support me at Patreon: https://www.patreon.com/TechwithMarco -------------------------- (*) -links are affiliate links. (If you buy something through the link, I receive a commission of your purchases. There are no extra costs for you.)

12+
15 просмотров
2 года назад
4 декабря 2023 г.
12+
15 просмотров
2 года назад
4 декабря 2023 г.

*Get 200$ worth of credits in the Digital Ocean Cloud: https://link.techwithmarco.com/digitalOcean (*) In this tutorial, I'll show you how to set up #CrowdSec with #Traefik to provide ultimate security for your web applications. CrowdSec is an open-source security stack that helps protect your web applications from attacks, while #Traefik is a reverse proxy that helps route traffic to the right web application. To get started, I'll assume you have already set up Traefik, otherwise have a look at my traefik tutorial https://youtu.be/QC3weuCUr8o. First, I'll show you how to configure CrowdSec and Traefik. Then, I'll show you how to create the "crowdsec_config" folder with the "acquis.yml" file, which allows CrowdSec to read log files of Traefik. I'll also mount the log directory of Traefik to the CrowdSec container so that the CrowdSec container can read the log files of Traefik. Finally, I'll show you how to connect crowdsec with the traefik-crowdsec-bouncer to take action on the above gathered information. You can verify that everything is working by visiting your web application and triggering some attacks. You should see log entries in Traefik's logs showing that the requests were blocked by the Traefik bouncer. Thank you for watching this tutorial. If you have any questions or comments, feel free to leave them in the comments section below. Don't forget to like and subscribe to our channel for more videos like this. Here you can find the tutorials files on my github: https://github.com/marcogreiveldinger/videos/tree/main/crowdsec Terraform - Cloudflare - Github Actions Automation: https://youtu.be/0BNwAEwYZlA Traefik Tutorial: https://youtu.be/QC3weuCUr8o 00:00 - 00:14 Intro 00:15 - 00:50 What is CrowdSec 00:51 - 03:00 Create a new cloud server 03:01 - 06:40 Traefik Setup 06:41 - 11:25 CrowdSec configuration setup 11:26 - 17:20 CrowdSec Bouncer - take action on information 17:21 - 21:16 CrowdSec Console - Dashboard overview 21:17 - 22:10 CrowdSec Hub community 22:11 - 22:34 Outro https://www.crowdsec.net/ https://traefik.io/traefik/ https://www.digitalocean.com/ #digitalocean Music from #Uppbeat (free for Creators!): https://uppbeat.io/t/avbe/night-in-kyoto License code: HZXPGBZOG9PSJT0W Support me at Patreon: https://www.patreon.com/TechwithMarco -------------------------- (*) -links are affiliate links. (If you buy something through the link, I receive a commission of your purchases. There are no extra costs for you.)

, чтобы оставлять комментарии