What’s up, what’s down and what are you not sure about?

Let us know what you set up lately, what kind of problems you currently think about or are running into, what new device you added to your homelab or what interesting service or article you found.

Personally I’m finally reaping the fruits of my labour and enjoy my stable homelab without doing much. One node went down recently and the other took over until I restarted so I was not in a hurry to fix things. Enjoying family time and only running updates that aren’t automated (yet). I’m about to dig a bit deeper into logging, probably setting up central log collection like Loki at some point, but not yet.

  • bergetfew@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    3
    ·
    15 hours ago

    I’ve set up Pangolin on my VPS and had no problems accessing docker services on my homelab remotely. However, I don’t know how I am supposed to SSH or SFTP to my homelab. Will I connect to my VPS instead? Would I need to break Pangolin or expose a vulnerability to do so?

    Honestly I am in need of a proper networking tutorial at this point.

    • e8d79@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      3
      ·
      7 hours ago

      According to the Pangolin docs it supports raw TCP and UDP connections.

      For SSH you can also try to use the VPS as a jump host like this:

      $ ssh user@vpn-homelab-ip -J user@vps-ip
      
      • bergetfew@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 hours ago

        I would never have found this on my own otherwise. I feel any amount of gratitude would fall short of compensating for how much time and effort it has saved me. Thank you regardless.

        If possible, can you share how I can achieve the same effect with SFTP?

        • e8d79@discuss.tchncs.de
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          49 minutes ago

          Either use the sftp command, it also supports the -J option, or use SSH tunneling. For example here I bind the homelab port 4533 to my local port 8080.

          $ ssh -L 8080:vpn-homelab-ip:4533 user@vps-ip
          (user@vps) $
          

          I can now open a new shell and run:

          $ curl http://localhost:8080/
          <a href="/app/">Found</a>.
          

          You could also do it this way:

          $ ssh -L 8080:localhost:4533 user@vpn-homelab-ip -J user@vps-ip
          (user@homelab) $