notdeadyet

joined 2 years ago
[–] notdeadyet 6 points 2 years ago* (last edited 2 years ago) (5 children)

PiHole can't specify specific ports for each cname, which is what you need a reverse proxy for.

Typically, you create all of your cnames in pihole and direct them to your reverse proxy server IP. From your reverse proxy of choice, you specify each url to the specific ip:port of your service.

[–] notdeadyet 5 points 2 years ago (1 children)

Awesome! Thank you

[–] notdeadyet 5 points 2 years ago (5 children)

Wait... How do you make SearXNG redirect to old.reddit?

[–] notdeadyet 2 points 2 years ago

This looks very promising. Going to give this a shot and I'll let you know if it works! Thanks

[–] notdeadyet 1 points 2 years ago

I didn't have much luck following trash guides unfortunately, as none of the examples quite fit what I was trying to do. Great resource though!

[–] notdeadyet 9 points 2 years ago (1 children)

You will need to run a reverse proxy on one of your VMs ( I use Caddy, it's very simple), and forward port 80/443 to your reverse proxy.

Within your reverse proxy, you can tell it what port corresponds to which address and it will send you to the right service.

This is obviously an oversimplified answer, but there are many Caddy guides and I can help you with any specific questions.

[–] notdeadyet 9 points 2 years ago

I mean, the world's your oyster with price limit! Haha.

[–] notdeadyet 2 points 2 years ago* (last edited 2 years ago)

Try using the local IP of the machine instead of localhost.

[–] notdeadyet 1 points 2 years ago (1 children)

Your config looks good to me. I'm thinking you may have a permissions error with your media store folder. What permissions do you have set for it?

[–] notdeadyet 3 points 2 years ago (4 children)

That's very normal regarding the crash trying to join #matrix:matrix.org. You need much higher specs and need to be using Postgres database, MySQL probably won't handle it.

Can you post a sanitized version of your homeserver.yaml so we can take a look at your config?

Also are you running docker or something else?

[–] notdeadyet 2 points 2 years ago (1 children)

Thanks, didn't notice that. I edited my comment to reflect.

[–] notdeadyet 11 points 2 years ago* (last edited 2 years ago) (8 children)

To me it sounds like you don't have a DHCP problem at all, the issue is no website can be resolved when your DNS is down (PiHole).

You really have two options:

  1. Make sure the PiHole stays up 24/7, with minor downtime for maybe a reboot or an update.

or

  1. Setup an additional raspberrypi with PiHole and use gravity-sync to keep them synced. Then, I would run ISC-DHCP server on both the raspberrypi's, one as the primary and the other as the secondary. That way you can specify both of your DNS servers. Make them authoritative and disable your routers DHCP. You can take a look at this guide:

https://stevendiver.com/2020/02/21/isc-dhcp-failover-configuration/

Personally, I like to keep the wife happy so I have option 2 at home, that way the internet never goes down when I tinker.

Edit: Didn't notice you said your router can't issue out two DNS servers. I've never heard of that.

view more: ‹ prev next ›