I understand that. I didn't call FUTO FOSS...
Hellmo_Luciferrari
I wasn't meaning to conflate the two, as I see your point. I didn't claim it was FOSS, just that the source was available.
I know for me, I don't mind using software that is licensed so that it doesn't directly fall under FOSS. I just like the availability to view the source vs closed source software being a total black box.
I have no plans to monetize their work, nor fork it, only use it.
I haven't gotten around to setting it up yet, but for a google photos type self hosted setup there is Immich which looks promising!
I know I don't want to open up any more ports than I have to, but you're right, that does sound like another alternative to setting up VPN.
Since I access more than just my pihole when connected to my home network. And because I want access to my home services, and don't want to open up access to the public, opening one port and connecting to VPN is the way to do it. I have one port opened up for my VPN, and in order to connect you have to have my IP or my domain pointed at the IP, and you have to have a Wireguard profile setup, and know what port is open. So that does help a tad bit with my security concerns.
Edit: how would I go about that if I felt so inclined? Any tips?
I want to self host more, but power draw is a concern.
So I have gone the route of running to Pi 4 8gb models as my hosts of choice.
So far I am hosting:
Non-Docker:
- PiHole
- Unbound
- Wireguard (and Wireguard-UI)
Docker:
- ForgeJo
- Dozzle
- Homarr
- LinkWarden
- Traefik
- Watchtower
There are a few other services I want to get up, but I haven't gotten around to it:
- Jellyfin
- Immich
- Nextcloud
As to why:
- ForgeJo to host my own git repositories (Docker Compose files, Chezmoi dot files, Miscellaneous configs)
- PiHole for ad blocking
- Unbound, well, having my own DNS
- Wireguard so I can connect to my home network
- Dozzle for easy log checking for my docker containers
- Linkwaren so I can backup bookmarks in a privacy friendly way
- Homarr for easy access to other web services I host
- Traefik so I can resolve IP:port to a hostname with SSL certificates even though everything I host is internal only
- Watchtower to update my Docker containers
You can still use PiHole as your DNS when not home if you setup a VPN. For me that was the route I went.
I will likely have to do some tinkering, and more reading up on this from the documentation I am thinking. I am getting HTTP 200 statuses basically across the board. When going to the FQDN it doesn't redirect to the PiHole admin page like I was expecting. Again, likely some configuration that I have wrong.
Shows in traefik, no errors there.
I hate to report back, but something isn't quite working for pihole behind Traefik.
running "docker logs traefik" returns no error, and yet no certificate was presented to my pihole.
Not sure what else I might be missing or that I might have wrong.
I will give this a shot! Thank you for the help. I will report back, in hopes that between your knowledge and my fumbles that someone else too can learn from this!
I am not sure if there is a good way to do it without scripting, and a router that would allow for taking variable input from an external script. But theoretically if the router would support it, you could script a port change at times there are no one on the server.
Essentially the server port is in a text file, you could use some command line utilities, and write a script leveraging something like sed to change the port in place.
But I am overcomplicating it. lol