In this guide, I explore using #Caddy as a reverse proxy with Let's Encrypt DNS challenges and #CrowdSec protection via a CrowdSec bouncer. Additionally, CrowdSec will be configured in a multi-server configuration with #OPNsense which has some benefits as mentioned in the guide.
In order to support DNS challenges and CrowdSec, you will have to build a custom Caddy executable. Using Caddy's build tool called xcaddy makes the process easier to accomplish.
Because of the manual build process, this guide will be more involved than simply setting up a basic Caddy web server/reverse proxy.
For a written version of this guide which includes all of the commands used in this video, please visit:
https://homenetworkguy.com/how-to/set...
Chapters:
02:29 Assumptions
04:36 Preparing OPNsense configuration
14:04 Install Go programming language
16:29 Install xcaddy
17:46 Build Caddy to support DNS challenges and CrowdSec bouncer
18:57 Configuring Caddy
27:17 Install and configure CrowdSec agent
36:00 Test access to app
36:47 Test CrowdSec
EP39
Sur cette page du site, vous pouvez voir la vidéo en ligne Caddy Reverse Proxy using DNS Challenges and CrowdSec Multi-Server Config with OPNsense durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Home Network Guy 18 mars 2024, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 10,392 fois et il a aimé 174 téléspectateurs. Bon visionnage!