Caddy Reverse Proxy using DNS Challenges and CrowdSec Multi-Server Config with OPNsense

Published: 18 March 2024
on channel: Home Network Guy
10,392
174

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


On this page of the site you can watch the video online Caddy Reverse Proxy using DNS Challenges and CrowdSec Multi-Server Config with OPNsense with a duration of hours minute second in good quality, which was uploaded by the user Home Network Guy 18 March 2024, share the link with friends and acquaintances, this video has already been watched 10,392 times on youtube and it was liked by 174 viewers. Enjoy your viewing!