5

I currently have a jellyfin server on a rpi4 running raspbian (I think). I'm planning to migrate that to a Dell Wyse mini pc before I go on a month long trip. I would like to be able to ssh into it from outside my home and add movies and stuff. I have already setup ddns for the jellyfin server, so I only need for a way to add movies to it.

top 11 comments
sorted by: hot top controversial new old
[-] andrew@lemmy.stuart.fun 13 points 1 year ago

Tailscale has a pretty generous free tier AFAIK, and makes so much of managing a VPN like this dead simple. Plus if you ever want to mess with DIY, there's also headscale. I run headscale personally and it's solid, and works with the tailscale clients.

[-] nieceandtows@lemmy.world 1 points 1 year ago

Thanks for the suggestion. I use windscribe as a vpn. Do I use tailscale instead of windscribe, or are they two different things?

[-] kaotic@lemmy.world 9 points 1 year ago

If your unsure how to set up public facing SSH… don’t. Your opening a possible attack vector. Use something like the free tier of Twingate.

[-] grumpyrico@lemmy.world 2 points 1 year ago

agree! don't make your setup a lab and leave for a month!

i did mine with zerotier because of the easy and quick setup but will change to tailscale somewhen.

there are better options than opening up the ssh port if you want to play it safe

[-] corroded@lemmy.world 3 points 1 year ago

You've gotten some good advice regarding VPNs, so I won't go into that, but if you do decide to open SSH or any other port, I would encourage you to spend some time setting up a firewall to block incoming connections. I have several services on HTTPS open to the world, but my firewall only allows incoming connections from whitelisted IP ranges (basically just from my cell phone and my computer at work). The number of blocked incoming connections is staggering, and even if they're not malicious, there is absolutely legitimate no reason for someone other than myself or the members of my household to be trying to access my network remotely.

[-] laenurd@lemmy.lemist.de 1 points 1 year ago

As you already have dynamic DNS set up, it should be as trivial as forwarding the ssh port (22).

I don't know what the default configuration of Raspbian is, but I would highly recommend generating an ssh key and disabling password login, if you're exposing your box to the internet.

[-] Lateralking@vlemmy.net 5 points 1 year ago

Do not open port 22 to the work OP. That's horrible advice.

Set up a openvpn server and VPN to your home abc then SSH from inside the network

[-] vegetaaaaaaa@lemmy.world 3 points 1 year ago* (last edited 1 year ago)

Do not open port 22 to the wor[ld]

I often see this parroted but it's not necessarily true. Properly configured and hardened SSH on an up-to-date system is, for all practical purposes, perfectly secure, even if it's facing the Internet.

I still only allow VPN inside my home network, but all my VPSs and dedicated servers (personal and work) have SSH facing the world. VPN is nice to have but not mandatory for this. Hardening SSH servers [1] must be done in all cases, even on "trusted" networks (there is no such thing as a fully trusted network).

[-] Lateralking@vlemmy.net 2 points 1 year ago

Why would you even leave that vector for attack open if you didn't need to?

Seems unnecessary.

[-] dpflug@hachyderm.io 2 points 1 year ago

@Lateralking
A VPN is an attack vector, too, and as @vegetaaaaaaa said, it's not like you can slouch on hardening ssh regardless of where it listens.

It also adds complexity. One more thing to go wrong.

Do what you like, of course. Your devices, your choice.
@selfhosted

[-] eating3645@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

Do you have ssh access running on local network? If so, all you have to do is forward the port. I'd recommend exposing a non-standard port, also using keys rather than password.

If you don't have your sshd running yet, it sounds like you need to read some guides to get a foundation, then come back with specific questions.

load more comments
view more: next ›
this post was submitted on 05 Jul 2023
5 points (77.8% liked)

Selfhosted

39256 readers
233 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