Hej everyone.

For almost a year now, I used the Nginx Proxy Manager (NPM) in combination with fail2ban. I also use Cloudflare to mask my home IP (I know, it’s not the most private thing and I’d switch to a VPN if my family wouldn’t rely on simple access).

Now I’m in the process of migrating my server and have wanted to switch to CrowdSec for some time now. Problem is, that there is a Docker image for NPM that is compatible with crowdsec, but it’s a bit dated and doesn’t seem to get a lot of support. I could use this and stay with NPM, which I quite like for it’s simplicity for a beginner like me.

Other options would be Traefix or NGINX without the proxy manager. Traefik seems to be quite popular but all the guides I found seem rather advanced and to be honest, it seems rather complicated.

The problem or reason why I think about this at all is that traffic coming from cloudflare passes my firewall unhindered because cloudflare acts as proxy, the real IP is only seen by NPM. As such, with my current setup there is a need for a bouncer on the level of the webserver/ reverse proxy.

So I have a few options.

  1. Stick with cloudflare and NPM and use Lepresidentes version which is compatible with Crowdsec.
  2. Use Traefik or base nginx.
  3. Use NPM, drop cloudflare proxy and use my firewall bouncer with crowdsec.
  4. Keep everything as is but use cloudflare as my bouncer (which is rate limited, AFAIK)

What do you guys think? I’d love to hear you thoughts on this!

No comments yet!

Selfhosted

!selfhosted@lemmy.world

Create post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

Community stats

  • 5.2K

    Monthly active users

  • 1.8K

    Posts

  • 19K

    Comments