this post was submitted on 03 Jul 2023
20 points (95.5% liked)

Selfhosted

40345 readers
419 users here now

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!

founded 1 year ago
MODERATORS
 

I am building up a selfhosted homelab after a few years of building up services on a single old desktop computer that I bought for $300. I had installed Ubuntu on it, and upgraded the RAM, etc and basically just used Docker to stand-up various services that all of you would be familiar with.

As I grew my use, it started to get more difficult to manage ports and networks and so I decided to make an investment and buy a used HP380 G8 server and installed proxmox. I love it.

The problem is now instead of a proliferation of ports now I have a proliferation of ips. Also, my damn Internet provider doesn't allow me to disable DHCP and its "reserve ip" is broken. It has an option for "bridge mode" which seems to allow me to make it simply a gateway but I haven't tried that mostly because I don't want to impact my family during the day/night when they are using the network.

What I have tried to setup various nameservers but they aren't doing what I want. I installed unbound yesterday to play around and it works but I don't know how to get the IP address/Name from proxmox over to the /etc/unbound.conf file for example.

My question is simply, what do you guys use to keep track of your IPs? Ideally, I could have something in Proxmox that registers the name/ip that I could patch into pihole or unbound or dnsmasq and fairly easily be able to manage that.

Any advice?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 year ago

I haven't used proxmox but I can share with you my setup.

It also has several docker deployments plus some services running directly in the machines using a reverse proxy to only manage a couple of IPs given by tailscale.
So for pihole it was first manually configured with its tailsacle IP and included it in the DNS pointing to the machine which has the reverse proxy.
I'm using caddy, so the Caddyfile has this entry:

pihole.hosted.local {
  reverse_proxy <Tailscale IP>:<port>
}

You can have several blocks like this to manage your different services.

https://caddyserver.com/docs/quick-starts/reverse-proxy