• 6 Posts
  • 98 Comments
Joined 2 years ago
cake
Cake day: June 15th, 2023

help-circle



  • I am a newbie so I am not sure I understand correctly. Tell me if my understanding is good.

    Your Pi-Hole act as your DNS, so the VPS use the pi-hole through the tunnel to check for the translation IP, as set through the DNS directive in the wg file. For example, my pi-hole is at 10.0.20.5, so the DNS will be that address.

    On the local side, the pi-hole is the DNS for all the services on that subnet and each service automatically populate their host name on pi-hole. I can configure the DNS server in my router/firewall (OPNSense in my case)

    So when I ping service.example.com, it goes through the VPS, which queries the pi-hole through the tunnel and translates the address to the local subnet IP if applicable.

    So when I have the wg connection active and my pi-hole is the DNS, every web request will go through the pi-hole. If the IP address is inside the range of AllowedIPs, the connection will go through the tunnel to the service, otherwise, the connection will go through outside the wg tunnel.

    Does that make sense?







  • It’s akin to when everything is urgent, nothing is.

    At one point, you gotta accept that you can’t do everything and move on. You can always re-find the information if it comes down to it in the future. Or you can use bookmark folders to be able to eventually go back to what you think is important.

    If I have more than 6-7 tabs open, I check what I need to absolutely save and add that to a bookmark folder, then I close my browser and start fresh.







  • Here is a bunch of random tips to become more comfortable with the terminal.

    Do absolutely everything that you can on the terminal.

    When you install something, enable the verbose if possible and snoop around the logs to see what is happening.

    If an app or an install fails, look at the logs to see what is the issue, and try to fix it by actually resolving the error itself first instead of finding the commands on the internet to fix your issue.

    Instead of googling for your command options, use the help menu from the application and try to figure out how to use the command from there.





  • Croquette@sh.itjust.workstoSelfhosted@lemmy.worldMy thoughts on docker
    link
    fedilink
    English
    arrow-up
    14
    arrow-down
    4
    ·
    7 months ago

    I hate how docker made it so that a lot of projects only have docker as the official way to install the software.

    This is my tinfoil opinion, but to me, docker seems to enable the “phone-ification” ( for a lack of better term) of softwares. The upside is that it is more accessible to spin services on a home server. The downside is that we are losing the knowledge of how the different parts of the software work together.

    I really like the Turnkey Linux projects. It’s like the best of both worlds. You deploy a container and a script setups the container for you, but after that, you have the full control over the software like when you install the binaries


  • I edited the post. Since it’s all local it’s fine to show the IP. It’s just a reflex to hide my ips.

    I use IP directly as I don’t have a local domain configured properly.

    The outpost ip in my configuration file is the same provided in the outpost on Authentik.

    I am trying to get it to work still, but I am pretty sure that the issue is between Authentik and Firefly.

    I don’t see any of the headers (x-authentik-email more specifically) specified in the caddy file when Authentik is sending the request to Firefly. The only header I see is x-authentik-auth-callback.

    I am not sure how I can specify which headers are sent in Authentik.