Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 582  / 2 Years ago, wed, march 30, 2022, 5:21:03

I have ubuntu server in my home and I want get acces it from elswhere. I don't have public adress IP on my ubuntu server so I can't reach it from internet. I have static DNS etc. I heard of hamachi but I must install this on every computer which I want to connect to my ubuntu server at home. I want only acces to terminal.


More From » networking

 Answers
1

You need to setup a reverse ssh tunnel



ssh -nNT -R 1100:local.mydomain.com:22 [email protected]


What this does is forwards any connections on port 1100 of the remote server to port 22 of the local system. You'd have to prepare this connection in advance, and it is not as reliable as a VPN.



If you want more reliability (ssh connection might get dropped), go for openvpn.


[#34440] Wednesday, March 30, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
sertold

Total Points: 445
Total Questions: 123
Total Answers: 113

Location: Burundi
Member since Wed, Sep 28, 2022
2 Years ago
;