Remote access to my home computer

2

Actually I have tried from my tablet to compile code in python, I can do it from home using OpenSSH to my Linux team and also access my console, I would like to be able to access in the same way outside my local network.

If possible making use of OpenVPN, or in some way that I can configure it myself, in a Linux Ubuntu 18.04 Team, since until now I have not been able to find a solution due to my lack of knowledge on the subject.

Thank you in advance for your attention.

    
asked by Luis Olvera 21.11.2018 в 20:42
source

2 answers

1

you can do it like this:
you go to router to advanced in advance -> port forwarding or port redirection
in the new models advance -> nat forwarding -> virtual server
in external port 22 o el que deses es opcional
in internal ip el ip de tu pc
in internal port 22
protocol tcp

and you can access through your public ip and the port you placed in external port
you can see it in:
mi ip

    
answered by 21.11.2018 / 21:12
source
1

Another option that can be done is a ProxyJump through an intermediate server with a fixed ip.

Here I explain it more in detail:

SSH from a host with a user who uses several people (͡ ͡ ° ͜ ʖ ͡ ͡ °)

In summary, you need three computers, the computer where you want to connect (the one you're going to take everywhere), a computer with a fixed ip, the server where you want to connect (your home computer).

You make a port forwarding by connecting the three machines and from one you can connect to another, even if the firewall has access restricted by some port (which is dangerous SSH).

    
answered by 13.12.2018 в 00:31