notdeadyet

joined 1 year ago
[–] notdeadyet@lemmy.dbzer0.com 6 points 11 months ago* (last edited 11 months 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@lemmy.dbzer0.com 5 points 11 months ago (1 children)

Awesome! Thank you

[–] notdeadyet@lemmy.dbzer0.com 5 points 11 months ago (5 children)

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

[–] notdeadyet@lemmy.dbzer0.com 2 points 11 months ago

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

[–] notdeadyet@lemmy.dbzer0.com 1 points 11 months 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@lemmy.dbzer0.com 9 points 1 year 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@lemmy.dbzer0.com 2 points 1 year ago* (last edited 1 year ago)

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

[–] notdeadyet@lemmy.dbzer0.com 1 points 1 year 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@lemmy.dbzer0.com 3 points 1 year 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@lemmy.dbzer0.com 2 points 1 year ago (1 children)

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

[–] notdeadyet@lemmy.dbzer0.com 10 points 1 year ago* (last edited 1 year 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.

[–] notdeadyet@lemmy.dbzer0.com 3 points 1 year ago* (last edited 1 year ago)

No worries.

To make your life easier you will want to pass the same "volume" to each of your containers so that they are all able to interact with the files the same way. For instance, if your movies are in /home/username/media/movies then make a volume for radarr, you can name it anything but for this example I'll use data, like so in docker:

/home/username/media:/data

Then inside radarr you can make your path inside.media management, root folders:

/data/movies

It works the same way for your downloads, just make sure your downloads go somewhere in the media folder, eg. /home/username/media/downloads. Then for your download client, use /home/username/media:/data in docker and inside the client download to /data/downloads.

Hope that makes sense

view more: ‹ prev next ›