I gave my sister my old Linux notebook.
She knows even less about Linux than I do. So I would like to help her sometimes.
The only problem is how can I connect to her even though she is not on the same LAN.
The SSH server does not run by default. You have to start it and ideally set it up so that it starts automatically when the system starts:
sudo systemctl enable sshd
sudo systemctl start sshd
I'm concerned with the aspect that is not in my LAN. See the question (no he doesn't always have to walk)
Mpf, I have overlooked that "not".
If you want to access the computer from a foreign network, you have to enable port 22 (TCP) in your router. For security reasons I would choose a public port> 30000 and the private port 22. You then establish the connection via the router's public IP address and the selected public port (ssh x.x.x.x: 30000). You must then always ask for the current IP address because it changes from time to time. The easiest way to find this out is with pages like http://wieistmeineip.de.
The prerequisite for the project is that your sister does not have an Internet connection with DS Lite.
Hmm
Here seems doable.
What I ask myself is there a solution like a TURN / STUN server with the SIP protocol?
Here seems doable.
This sentence is incomprehensible to me.
What I ask myself is there a solution like a TURN / STUN server with the SIP protocol?
I don't know. TURN and STUN require external servers. Somebody would have to do it for you.
You're not going to reveal where the problem is. It may be possible that you operate a VPN server on your premises (if necessary also directly with the router, e.g. A Fritzbox). In the event of support, your sister must then set up the VPN for you, then you can access her computer through the VPN tunnel via SSH. This saves the port forwarding in your sister's router and DS Lite on her side is no problem (on your side it may be already).