adamshand

joined 1 year ago
[–] [email protected] 1 points 1 year ago (2 children)

You're asking r/selfhosted where to not selfhost something.

[–] [email protected] 1 points 1 year ago

I thought limits only worked in swarms?

[–] [email protected] 1 points 1 year ago

I just checked the docs and didn't see anything about ntfy accepting smtp? This would be useful, what am I missing?

[–] [email protected] 1 points 1 year ago

You have climbed mountains and gained skills. Congratulations my friend, now bask in the soothing waters.

[–] [email protected] 1 points 1 year ago (3 children)

I managed OpenLDAP servers professionally for years. You don't want to use OpenLDAP unless it's something you want to learn about.

LLDAP (or GLAuth) does everything you need in a homelab context for a fraction of the effort, complexity, and hassle.

[–] [email protected] 1 points 1 year ago (1 children)

Assuming it's a Linux server at home and you can use SSH on your work computer, there's a couple ways to do this.

  • Install a web based terminal client
  • Setup Cloudflare tunnels on your home server and use the the SSH proxy. I do this with a simple helper in ~/.ssh/config:
Match host "*.cf"
  ProxyCommand /usr/local/bin/cloudflared access ssh --hostname $(echo %h | sed 's/\.cf$/.homelab.nz/')
  ForwardAgent yes
[–] [email protected] 1 points 1 year ago

Thank you, didn't realise that!

[–] [email protected] 1 points 1 year ago (1 children)

This works pretty well for Postgres.

https://github.com/ankane/pghero

[–] [email protected] 1 points 1 year ago

The reputation problem with hosting email at home is that most residential IPs are blacklisted.

The way around this is to relay your mail through another server (all SMTP servers support this, it's often called a "smarthost"). This can either be an SMTP server you setup on a VPS with a clean IP or a commercial SMTP relay like Amazon SES. Cloudflare tunnels are for inbound traffic and can't help with this.

Delivering email to a home SMTP server doesn't have any reputation challenges, you just need to expose port 25 on your SMTP server to the internet (or again proxy it somehow).

[–] [email protected] 1 points 1 year ago

Reverse proxy, Cloudflare tunnels, Tailscale.

[–] [email protected] 1 points 1 year ago (1 children)

One thing that threw me in the beginning was that the docs didn't show examples in context. As an example, if you look at the basicauth docs it shows:

basicauth /secret/* {
	Bob $2a$14$Zkx19XLiW6VYouLHR5NmfOFU0z2GTNmpkT/5qqR7hx4IjWJPDhjvG
}...
}

Where can I use this? Globally? In the top-level of the virtualhost definition? If I'm reverse proxying, do I put it inside the reverse_proxy stanza? I used Apache for years and the docs always stated what context directives could be used in, eg.

https://httpd.apache.org/docs/2.4/mod/core.html#acceptpathinfo

[–] [email protected] 1 points 1 year ago

I used Apache for many years. It’s great! But Caddy is simpler, easier and lighter weight.

view more: ‹ prev next ›