D
D
Dima_kras2018-07-21 09:47:43
linux
Dima_kras, 2018-07-21 09:47:43

How to open access to Raspberry Pi (Debian) via the Internet?

Good afternoon, I have a Raspberry Pi at home on the local network, Debian is installed on it, I need to make sure that I have full access to the Raspberry Pi as from a local network, only via the Internet. There is no white ip, gray or some other.
As I understand it, you need to create a VPN, connect Raspberry and a laptop to the VPN, and then they will be on the same network.
Tried through remot3.it - ​​ssh works, but you still need access via ftp, web. And there it is somehow crooked.
Tell.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
I
Ilya bow, 2018-07-21
@8889996

all ports on the router from an external IP address to an internal one are forwarded and that's it.
Unless of course you have a real IP.
And if there is no real one, then yes, then you need to raise a vpn server somewhere (for example, on vps) and create a local network.

K
kalapanga, 2018-07-22
@kalapanga

If there is no white IP, you can use DynDNS, No-Ip and the like. Look in the router, they sometimes have built-in support for such services.

D
Dima_kras, 2018-07-22
@Dima_kras

I managed to connect a white ip from the provider, forwarded the ports on the router. Although, of course, I want to use VPN, as I understand it, one of the simple openVPN options is to put it on a VPS and connect to it.
With VPN, as I understand it, it will be safer, because. with a white ip raspberry everything is accessible from outside, they can hack and do something :)

K
kirdik, 2020-01-15
@kirdik

The most convenient option is https://ngrok.com
You can also raise tor services, I do this often. For ssh, that's it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question