Comment on What's up, selfhosters? It's self hosting Sunday!
bergetfew@sopuli.xyz 22 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 15 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 10 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 8 hours ago
Either use the
sftp
command it also supports the-J
option or use SSH tunneling. For example here I bind the port 4533 to my local port 8080.I can now open a new shell and run:
You could also do it this way:
bergetfew@sopuli.xyz 7 hours ago
Thanks a ton!