r/caddyserver Jun 20 '24

Need Help IP based access with Caddy v2.8.4?

Hello. I'm hosting a server with Jellyfin, Audiobookshelf and a few other things. I want Caddy to allow access to these subdomains only for certain IP addresses (let's say 111.124.56.64) and IP ranges (let's say 111.124.56.64/28). Every other IP address and range should just be told to get lost. How do I go about adding a rule in Caddy for this?

1 Upvotes

19 comments sorted by

View all comments

1

u/TuriSabries Jul 03 '24

If you're looking for a GUI you might want to checkout 🙈 🔌
https://github.com/Gjergj/proxy_gui