RetroFed Forums
Your home away from modern life.
Remote connection over internet?
Post Reply
AuthorMessage
18107 aussie.zone 18107@aussie.zone
Joined: 2023-07-04
Quote

I'm going to be away from home for a few weeks and would like to access my computer (LMDE) while I'm away. Remote desktop connection would be ideal, just file transfer would be acceptable.

Is a VPN necessary, or can port forwarding be good enough for a one time use?

What software/networking recommendations do you have?

86   Original
litchralee sh.itjust.works litchralee@sh.itjust.works
Joined: 2023-07-02
#2 · (edited) Quote Reply

Port forwarding is moderately simple but there are risks to just opening a port and not guarding it with appropriate firewall rules. This includes an SSH server if not up-to-date.

Whereas setting up something like Tailscale on your machine and on your laptop is exceedingly straightforward, avoids firewall reconfigurations, and Just Works(tm). You could then connect to whatever service you have running, just as if you were on your LAN. My only gripe is that you do need a Google/Microsoft/GitHub/Apple account or OIDC to set up.

In the long term, if you have misgivings about that company operating the coordination server necessary for this tunneling solution, then there's always the open-source Headscale, which is a drop-in replacement.

21
TheFogan programming.dev TheFogan@programming.dev
Joined: 2023-07-12
#3 · Quote Reply

I guess depends on the risk factor you want to take. For me I'd go VPN. You could go port forwarding, or you could even do something like temporarally use something like anydesk depending if you want to trust a corporation for remote access.

6
gaylord_fartmaster lemmy.world gaylord_fartmaster@lemmy.world
Joined: 2023-07-13
#4 · Quote Reply

Wireguard

37
AbouBenAdhem lemmy.world AbouBenAdhem@lemmy.world
Joined: 2023-06-13
#5 · (edited) Quote Reply

If you set up one port forward to any SSH server on your local network (e.g., a spare Raspberry Pi), you can then use SSH tunneling to mirror any port on any machine in your local network to ports on your remote SSH client. And it leaves no trace on either side outside of the terminal session.

10
Lka1988 lemmy.dbzer0.com lka1988@lemmy.dbzer0.com
Joined: 2024-11-18
#6 · (edited) Quote Reply

If you set up one port forward to any SSH server on your local network (e.g., a spare Raspberry Pi), you can then use SSH tunneling to mirror any port on any machine in your local network to ports on your remote SSH client. And it leaves no trace on either side outside of the terminal session.

That sounds....not....smart....

0
chrash0 lemmy.world chrash0@lemmy.world
Joined: 2024-03-03
#7 · Quote Reply

Port forwarding is moderately simple but there are risks to just opening a port and not guarding it with appropriate firewall rules. This includes an SSH server if not up-to-date. Whereas setting up something like Tailscale on your machine and on your laptop is exceedingly straightforward, avoids firewall reconfigurations, and Just Works(tm). You could then connect to whatever service you have ...

will recommend. just use Tailscale. you may distrust any of these OIDC providers, but that doesn’t mean they can see your traffic. long term if you’re paranoid move to Wireguard or Headscale, but this is so simple it’s a no-brainer

10
tal lemmy.today tal@lemmy.today
Joined: 2023-10-04
#8 · Quote Reply

That sounds....not....smart....

I think it's fine. Want to explain why you think that it's an issue?

7
Lettuce eat lettuce lemmy.ml Lettuceeatlettuce@lemmy.ml
Joined: 2023-07-12
#9 · Quote Reply

Tailscale or Netbird literally take 15 minutes tops to set up and get working. Then you just pick whatever services like SSH you want to use, have them accept connections only from Tailscale/Netbird IPs, and you're gold.

I use Tailscale on my entire home lab, and with my friends and family for everything from Minecraft, to accessing my Jellyfin home media server, to accessing my parent's home PC across the country to check updates and backups.

Fast, easy, free, and secure.

19
graycloud lemmy.blahaj.zone graycloud@lemmy.blahaj.zone
Joined: 2026-08-05
#10 · Quote Reply

Tailscale is easier and has a generous free tier, Netbird is free and has more features

9
FunnySalt lemmy.dbzer0.com FunnySalt@lemmy.dbzer0.com
Joined: 2025-12-12
#11 · Quote Reply

Answering on the idea of port forwarding. Though like others have said, tailscale or similar is a better option.

Opening an ssh port would allow file transfer. You could also so remote desktop with port forwarding over ssh and vnc (or some other more modern protocol, haven't futzed with anything like that in a long time).

Probably doesn't need saying but make sure your system is up to date. Also using a nonstandard port and using key based authentication and disallowing password authentication and good security measures. If the device you're connecting from isn't something you're bringing with you, you'd also need a copy of your private key.

3
Strit lemmy.linuxuserspace.show Strit@lemmy.linuxuserspace.show
Joined: 2023-08-24
#12 · (edited) Quote Reply

If you want a full complete remote desktop solution, you should probably look at VNC and portforwarding its port. I think it's 3001.

Or if you won't (or can't) mess with port forwards, you could setup something like RustDesk for the TeamViewer experience.

1
corsicanguppy lemmy.ca corsicanguppy@lemmy.ca
Joined: 2023-06-12
#13 · Quote Reply

If you want a full complete remote desktop solution, you should probably look at VNC and portforwarding its port. I think it's 3001. Or if you won't (or can't) mess with port forwards, you could setup something like RustDesk for the TeamViewer experience.

3001

5900

3
Strit lemmy.linuxuserspace.show Strit@lemmy.linuxuserspace.show
Joined: 2023-08-24
#14 · Quote Reply

3001 5900

Thanks. Been so long since I've used vnc that I couldn't remember.

1
qwerty discuss.tchncs.de qwerty@discuss.tchncs.de
Joined: 2023-06-12
#15 · Quote Reply

If you can rent a vps you can use it as a relay server. You setup sshd on your home pc and ssh to the vps with the -R flag.

ssh -R 8022:localhost:22 user@relay

As long as the connection is live you can ssh to the server via relay. If you set GatewayPorts to yes on the relay in sshd_config then it will act as an open port on your home pc and anyone will be able to connect to it over the internet with

ssh -p 8022 user@relay

so make sure to secure it correctly, only allow ssh keys etc. If you set GatewayPorts to no, then only clients connected to the relay will be able to connect to the server, this is a must have if you're gonna use unsecure protocols like VNC. First ssh to the server

ssh user@relay

next

ssh user@localhost -p 8022

or one line, especially useful when combined with -i to point at the home pc's ssh key stored on the client

ssh -J user@relay user@localhost -p 8022

You can also setup VNC over ssh. Add 2nd -R on home pc with vnc ports

ssh -R 5901:localhost:5901 user@relay

or together

ssh -R 8022:localhost:22 -R 5901:localhost:5901 user@relay

On the client ssh with the -L flag

ssh -L 5091:localhost:5091 user@relay

Now you can connect your VNC client to

localhost:1

6
ExcessShiv lemmy.dbzer0.com ExcessShiv@lemmy.dbzer0.com
Joined: 2024-04-23
#16 · Quote Reply

Wireguard server in your home network, remote access via DDNS is the way I do it.

4
neatchee piefed.social neatchee@piefed.social
Joined: 2025-09-15
#17 · (edited) Quote Reply

You have several options.

First important question, though: what type of router do you have? If you own your own router, instead of using the one provided by your ISP, then you may have additional options.

  1. Tailscale VPN - Quick and easy setup. "Just works". Creates an environment like your computers are connected to the same network. Requires setup on each device. Some limits on free plan.
  2. *Wireguard VPN (router host) - Configuration required at the router. Only remote devices need additional setup; devices at home don't need individual config. *Must be supported by router
  3. SSH tunnel - Ideal for terminal only, though X11 forwarding is possible. Requires either a router that has an SSH server, or port forwarding. Not recommended to allow username/password-only auth; should configure for key-based auth (rsa256/ed25519) only
  4. Secure Remote Desktop (hosted service) - TeamViewer and similar services provide remote desktop access through account-based login, using their relays. Theoretically secure but susceptible to account takeover attacks.
  5. Secure Remote Desktop (direct connect or self-hosted service) - Relay-less (e.g. NoMachine) and self-hosted relay (e.g. RustDesk) provide secure, self managed remote desktop. Requires router port forwarding or reverse-proxy configuration at the router.

There are other options (like OpenVPN or Wireguard hosted on a device internal to the network, rather than the router) but I personally recommend one of the above 5 options depending on your use case and risk profile.

If you travel a lot, consider purchasing a travel router (eg GL-iNet devices). Once configured, they act as a repeater or access point for your devices, including forwarding all traffic over a VPN. You arrive at your destination, plug in the travel router, use its webUI to connect it to the hotel or guest Wi-Fi of your choice, and then connect all your personal devices to its Wi-Fi network. No need for connecting every device to a new network at each destination. They support captive portal login, AdGuard Home baked in, blocking all non-VPN traffic, and more.

25
18107 aussie.zone 18107@aussie.zone
Joined: 2023-07-04
#18 · Quote Reply

You have several options. First important question, though: what type of router do you have? If you own your own router, instead of using the one provided by your ISP, then you may have additional options. Tailscale VPN - Quick and easy setup. "Just works". Creates an environment like your computers are connected to the same network. Requires setup on each device. Some limits on free plan. *Wir...

My router is running OpenWRT (and stopped having intermittent issues after replacing the stock OS).

I'm leaning toward Tailscale for the "quick and easy" recommendation. If I need to do this again, I might try something a little more advanced.

2
neatchee piefed.social neatchee@piefed.social
Joined: 2025-09-15
#19 · (edited) Quote Reply

My router is running OpenWRT (and stopped having intermittent issues after replacing the stock OS). I'm leaning toward Tailscale for the "quick and easy" recommendation. If I need to do this again, I might try something a little more advanced.

If you're already running OpenWRT then I personally recommend Wireguard over tailscale if you have the time. It's not hard to set up at all and takes the third party out of the loop. OpenWRT has excellent support for Wireguard configuration and export of configs to the devices you want to connect (install client, import config). The only "gotcha" is needing DynamicDNS (assuming you don't have a static public IP)

Tailscale is definitely super-simple but this IS the self-hosted community ;D I always prefer removing third parties at every opportunity.

17
18107 aussie.zone 18107@aussie.zone
Joined: 2023-07-04
#20 · Quote Reply

If you're already running OpenWRT then I personally recommend Wireguard over tailscale if you have the time. It's not hard to set up at all and takes the third party out of the loop. OpenWRT has excellent support for Wireguard configuration and export of configs to the devices you want to connect (install client, import config). The only "gotcha" is needing DynamicDNS (assuming you don't have a...

This is why I ask humans instead of AI. I didn't consider router level options.

I've already got dynamic DNS set up, and I've been meaning to set up a way to access my NAS from out of the house. This might be the final push I need.

8
brem feddit.org brem@feddit.org
Joined: 2026-07-14
#21 · Quote Reply

Take a look at Yggdrasil.

https://yggdrasil-network.github.io/

0
Err(()).unwrap() lemmy.world rtxn@lemmy.world
Joined: 2023-06-24
#22 · Quote Reply

This is why I ask humans instead of AI. I didn't consider router level options. I've already got dynamic DNS set up, and I've been meaning to set up a way to access my NAS from out of the house. This might be the final push I need.

One obstacle you might encounter is carrier-grade NAT or CGNAT. Some ISPs put residential subscribers behind an additional layer of IPv4 NAT, which makes your public address inaccessible from the internet. In that case, you'll either need Tailscale or a similar service, or a VPS to act as a relay.

Then there's Vodafone who have unilaterally removed both the port-forward feature and bridge mode from their residential cable modems, and I hate them, and wish them a hammer to balls.

8
lemmyvore feddit.nl lemmyvore@feddit.nl
Joined: 2023-06-15
#23 · Quote Reply

My router is running OpenWRT (and stopped having intermittent issues after replacing the stock OS). I'm leaning toward Tailscale for the "quick and easy" recommendation. If I need to do this again, I might try something a little more advanced.

Please note that the Tailscale binaries for OpenWRT are pretty large (even if you cross-compile them with compact and strip). Your router might not have enough storage for it.

If that's the case, you might work around it by only storing the tailscaled binary on persistent storage, because that's the daemon which runs the actual connectivity. The tailscale binary is only used for making configuration changes, you can copy that to RAM disk, use it to set config params, then delete it.

4
hexagonwin lemmy.today hexagonwin@lemmy.today
Joined: 2026-02-07
#24 · Quote Reply

tailscale. and then use vnc(tigervnc-server or x11vnc) and ssh

14
lepinkainen lemmy.world lepinkainen@lemmy.world
Joined: 2023-11-26
#25 · Quote Reply

Tailscale + Rustdesk has worked for me so far.

Simple, easy, free and just works.

10
atzanteol sh.itjust.works atzanteol@sh.itjust.works
Joined: 2023-06-12
#26 · Quote Reply

Answering on the idea of port forwarding. Though like others have said, tailscale or similar is a better option. Opening an ssh port would allow file transfer. You could also so remote desktop with port forwarding over ssh and vnc (or some other more modern protocol, haven't futzed with anything like that in a long time). Probably doesn't need saying but make sure your system is up to date. Als...

OpenSSH is one of the most secure applications in the world. It's fine to expose it to the Internet. Just be sure you have excellent passwords or don't allow password auth.

5
Decronym Bot Decronym@lemmy.decronym.xyz
Joined: 2026-01-05
#27 · (edited) Quote Reply

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
AP WiFi Access Point
CGNAT Carrier-Grade NAT
DNS Domain Name Service/System
ISP Internet Service Provider
NAS Network-Attached Storage
NAT Network Address Translation
SSH Secure Shell for remote terminal access
VNC Virtual Network Computing for remote desktop access
VPN Virtual Private Network
VPS Virtual Private Server (opposed to shared hosting)

10 acronyms in this thread; the most compressed thread commented on today has 8 acronyms.

[Thread #129 for this comm, first seen 15th Oct 2026, 09:50]
[FAQ] [Full list] [Contact] [Source code]

2
atzanteol sh.itjust.works atzanteol@sh.itjust.works
Joined: 2023-06-12
#28 · Quote Reply

That sounds....not....smart....

Why? It sounds fine to me. OpenSSH is the standard for secure remote access. And port forwarding works great.

3
atzanteol sh.itjust.works atzanteol@sh.itjust.works
Joined: 2023-06-12
#29 · Quote Reply

Just use ssh and be sure to disable remote root access and require key based authentication. If it's good enough for aws, azure, etc. then it's good enough for what you want.

You'll want to read up on port forwarding and pick a remote gui tool. "No machine" works very well for x11, but rdp is supported by some wayland displays. Vnc is the old workhorse.

1
atzanteol sh.itjust.works atzanteol@sh.itjust.works
Joined: 2023-06-12
#30 · Quote Reply

If you can rent a vps you can use it as a relay server. You setup sshd on your home pc and ssh to the vps with the -R flag. ssh -R 8022:localhost:22 user@relay As long as the connection is live you can ssh to the server via relay. If you set GatewayPorts to yes on the relay in sshd_config then it will act as an open port on your home pc and anyone will be able to connect to it over the internet...

Jesus... Just port forward 22 to your system and ssh in directly.

1
Wildmimic anarchist.nexus Wildmimic@anarchist.nexus
Joined: 2025-09-05
#31 · Quote Reply

One obstacle you might encounter is carrier-grade NAT or CGNAT. Some ISPs put residential subscribers behind an additional layer of IPv4 NAT, which makes your public address inaccessible from the internet. In that case, you'll either need Tailscale or a similar service, or a VPS to act as a relay. Then there's Vodafone who have unilaterally removed both the port-forward feature and bridge mode ...

They removed BOTH? what in the... portforwarding is a pretty basic feature to have, and i would switch ISP if they took away Bridge Mode from me.

1
KaninchenSpeed lemmy.blahaj.zone KaninchenSpeed@lemmy.blahaj.zone
Joined: 2025-09-22
#32 · (edited) Quote Reply

just use ssh with password auth disabled, you can copy files over it with any sftp client or forward applications or an entire desktop session with waypipe.
Way easier to set up and you're not giving some silicon valley company full access to your home network nor are you affected by their services outages.

6
qwerty discuss.tchncs.de qwerty@discuss.tchncs.de
Joined: 2023-06-12
#33 · Quote Reply

Jesus... Just port forward 22 to your system and ssh in directly.

That's not always an option and when it is, setting it up is often more complicated and less secure than using a relay server. Honestly, the fastest (to setup), easiest and most secure option would be ssh server as a tor hidden service. Everything is handled by tor out of the box, .onion domain name, nat hole punching, E2EE, port scanning bots... all taken care of, no need for opening ports, static ip, dns, ddns, fail2ban, worrying that there's a 0 day or that you misconfigured something. No one can exploit you service if nobody knows it exists.

0
neatchee piefed.social neatchee@piefed.social
Joined: 2025-09-15
#34 · Quote Reply

This is why I ask humans instead of AI. I didn't consider router level options. I've already got dynamic DNS set up, and I've been meaning to set up a way to access my NAS from out of the house. This might be the final push I need.

Brave of you to assume I'm human.

...I mean, I am human, but it's brave to assume

😂

2
Err(()).unwrap() lemmy.world rtxn@lemmy.world
Joined: 2023-06-24
#35 · Quote Reply

They removed BOTH? what in the... portforwarding is a pretty basic feature to have, and i would switch ISP if they took away Bridge Mode from me.

They removed almost every basic networking feature with a firmware update. Even in "expert mode", all I can do is set up the wifi and pick a single /24 network from 192.168.0.0/16. I can't even pick a goddamn DNS server. Unfortunately the other ISPs that serve my area are at least twice as expensive.

3
youmaynotknow lemmy.zip jjlinux@lemmy.zip
Joined: 2025-07-24
#36 · Quote Reply

You have several options. First important question, though: what type of router do you have? If you own your own router, instead of using the one provided by your ISP, then you may have additional options. Tailscale VPN - Quick and easy setup. "Just works". Creates an environment like your computers are connected to the same network. Requires setup on each device. Some limits on free plan. *Wir...

This is very sound advice. Pretty similar to my infrastructure. The gl-inet travel router already with wireguard to VPN into my home network is one of the best decisions I've ever made.

2
Wildmimic anarchist.nexus Wildmimic@anarchist.nexus
Joined: 2025-09-05
#37 · (edited) Quote Reply

They removed almost every basic networking feature with a firmware update. Even in "expert mode", all I can do is set up the wifi and pick a single /24 network from 192.168.0.0/16. I can't even pick a goddamn DNS server. Unfortunately the other ISPs that serve my area are at least twice as expensive.

Wow. An ISP going down the route of enshittification by taking away networking basics is not something that i would have expected years ago, but nowadays i am only sad about it.

My ISP wants me to swap out my modem, but as long as it works i won't do so - i fear they might take away my (officially dynamic, but only changing once in a blue moon when they make changes in their network topology) IPv4 address and stick me back behind the awful CGNAT they have as they did once without asking years ago.

2
atzanteol sh.itjust.works atzanteol@sh.itjust.works
Joined: 2023-06-12
#38 · Quote Reply

That's not always an option and when it is, setting it up is often more complicated and less secure than using a relay server. Honestly, the fastest (to setup), easiest and most secure option would be ssh server as a tor hidden service. Everything is handled by tor out of the box, .onion domain name, nat hole punching, E2EE, port scanning bots... all taken care of, no need for opening ports, st...

Setting up ssh is nearly trivial. And saying it's "less secure" doesn't mean it's insecure.

It's the primary access point for thousands of systems and for good reason. It's "good enough" for your little homelab.

1
prole lemmy.blahaj.zone prole@lemmy.blahaj.zone
Joined: 2024-06-11
#39 · (edited) Quote Reply

just use ssh with password auth disabled, you can copy files over it with any sftp client or forward applications or an entire desktop session with waypipe. Way easier to set up and you're not giving some silicon valley company full access to your home network nor are you affected by their services outages.

This is probably a dumb question, but as someone who has never fucked with SSH, is there anything that I need to do to my basic Linux install to make sure randos cannot do what you just described (without permission)?

2
Onomatopoeia lemmy.cafe Onomatopoeia@lemmy.cafe
Joined: 2025-01-02
#40 · Quote Reply

Tailscale should provide everything you need. Then you can use whatever remote desktop/management tools you want.

2
qwerty discuss.tchncs.de qwerty@discuss.tchncs.de
Joined: 2023-06-12
#41 · Quote Reply

Setting up ssh is nearly trivial. And saying it's "less secure" doesn't mean it's insecure. It's the primary access point for thousands of systems and for good reason. It's "good enough" for your little homelab.

Depends what you mean by setting up ssh. Installing sshd, sure. Opening up ports, calling your isp to buy dedicated ip if they even offer one, getting a domain, setting up ddns...

1
ExLisper lemmy.curiana.net ExLisper@lemmy.curiana.net
Joined: 2025-03-22
#42 · (edited) Quote Reply

Everyone says tailscale but if you don't want to setup an account with google or Microsoft login, Netbird is the way to go.

9
neatchee piefed.social neatchee@piefed.social
Joined: 2025-09-15
#43 · (edited) Quote Reply

This is very sound advice. Pretty similar to my infrastructure. The gl-inet travel router already with wireguard to VPN into my home network is one of the best decisions I've ever made.

Right? Especially when I had symmetric gigabit (rip marital home before divorce) it was such a game changer. Still great with 1000/50 docsis just not quite as great lol

It also took me a bit to realize GL-iNet is just a custom openwrt stack and you can reach the luci console for advanced tinkering :3

2
atzanteol sh.itjust.works atzanteol@sh.itjust.works
Joined: 2023-06-12
#44 · Quote Reply

Depends what you mean by setting up ssh. Installing sshd, sure. Opening up ports, calling your isp to buy dedicated ip if they even offer one, getting a domain, setting up ddns...

Opening ports is also trivial. You don't generally need a dedicated IP if you keep a connection running but YMMV. And you don't need a domain - just remember the IP. This is only for a few weeks.

2
northernlights lemmy.today northernlights@lemmy.today
Joined: 2025-10-05
#45 · Quote Reply

I just use wireguard. Easy to set up, especially with something like wg-easy

8
Vakbrain lemmy.dbzer0.com Vakbrain@lemmy.dbzer0.com
Joined: 2023-06-16
#46 · Quote Reply

Tailscale + Rustdesk has worked for me so far. Simple, easy, free and just works.

This!

Make sure to enable connect with IP in Rustdesk, and use the ip supplied by Tailscale when your not home.

Easy!

(If you use linux, make sure to use X11 rather than Wayland on your session to allow unattended connections)

3
Guiorgy lemmy.ml Guiorgy@lemmy.ml
Joined: 2026-10-03
#47 · Quote Reply

Never expose the bare remote control endpoint publicly. For example, recently macOS had a critical vulnerability where an attacker could completely bypass authentication on their Screen Sharing daemon, and the researcher had estimates around 40k publicly exposed systems, and it was found out that the vulnerability was in fact being used in the wild. Exposing things like that publicly is asking for trouble.

Personally I don't like relying on 3rd party systems like Tailscale, so I just have a WireGuard peer running firewalled to only allow access to what is necessary, though you can skip the firewall part. This obviously assumes you have a routable public IP, i.e. no CGNAT, if that's not the case Tailscale is probably what you want.

6
Guiorgy lemmy.ml Guiorgy@lemmy.ml
Joined: 2026-10-03
#48 · Quote Reply

Wow. An ISP going down the route of enshittification by taking away networking basics is not something that i would have expected years ago, but nowadays i am only sad about it. My ISP wants me to swap out my modem, but as long as it works i won't do so - i fear they might take away my (officially dynamic, but only changing once in a blue moon when they make changes in their network topology) I...

Yep, my network was set up before the ISPs here merged by a smaller one that did things simpler, so I dont even have an ISP modem, just my OpenWRT router and no CGNAT, and I've only had my IP change once so far (since I started caring about it at least). Everything newer around uses ISP modems and are behind CGNAT, on my mates modem, they wouldn't even let him set up his Wi-Fi, he had to go with double NAT-ing and setting 2 APs next to each other (the ISP modem/router has some default trash Wi-Fi). I'm praying they never bother coming to me 🙏

1
f314 lemmy.world f314@lemmy.world
Joined: 2023-07-15
#49 · (edited) Quote Reply

This is probably a dumb question, but as someone who has never fucked with SSH, is there anything that I need to do to my basic Linux install to make sure randos cannot do what you just described (without permission)?

When they say “password auth disabled” they don’t mean being ble to log in without authentication. It means that your machine instead authenticates with an SSH key:

You generate a private/public key pair on your computer (the one you will take with you), and add the public key from that pair to a list of trusted computers on your server. When logging in, your computer will prove to the server who it is by generating that same public key. No password needed.

  1. Generate a key pair with ssh-keygen -t ed25519 on you computer.
  2. Copy the contents of ~/.ssh/id_ed25519.pub from you computer into a file on you server called ~/.ssh/authorized_keys.

That’s it!

The file on the server should be in the home directory of the user you want to log in as. If it already exists, add the key you generated to the end of it.

3
Creat discuss.tchncs.de Creat@discuss.tchncs.de
Joined: 2023-06-16
#50 · Quote Reply

Port forwarding is moderately simple but there are risks to just opening a port and not guarding it with appropriate firewall rules. This includes an SSH server if not up-to-date. Whereas setting up something like Tailscale on your machine and on your laptop is exceedingly straightforward, avoids firewall reconfigurations, and Just Works(tm). You could then connect to whatever service you have ...

If you're gonna use an overlay network like Tailscale I would highly recommend also taking a look at netbird. Similar concept, but fully self hostable if the need arises (but not recommended unless you have a specific need).

2
youmaynotknow lemmy.zip jjlinux@lemmy.zip
Joined: 2025-07-24
#51 · Quote Reply

Right? Especially when I had symmetric gigabit (rip marital home before divorce) it was such a game changer. Still great with 1000/50 docsis just not quite as great lol It also took me a bit to realize GL-iNet is just a custom openwrt stack and you can reach the luci console for advanced tinkering :3

Access to the Luci ui is the reason I bought the first one I got 😁

2
Post Reply Page 1 of 2   Goto page 1, 2 Last »
Back to top