A
A
Anton Parkhomenko2019-10-06 18:50:02
linux
Anton Parkhomenko, 2019-10-06 18:50:02

How to remotely connect to a shared folder on Raspberry Pi via OpenVPN?

Good day, dear ones!
I want to make it so that from a smartphone, using an openvpn connection, connect to a shared folder on a raspberry.
Tell me please, in which direction to dig, to solve such a problem?
What has already been done:
1. Received a static IP from the provider.
2. Raspberry is connected to Mikrotik; has its own permanent internal IP address. (192.168.10.10) Using port forwarding 22, I can SSH from anywhere to the raspberry using a static IP:22.
3. Samba is configured on the raspberry and the folder is shared on the network. You can see it on your home computer, from your smartphone (if the connection goes through home wifi) you can also see this folder - using the ES File Explorer application.
4. OpenVPN configured on Mikrotik. I easily connect from my smartphone and get a different internal IP address (10.10.10.10) than my home network.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
ky0, 2019-10-06
@Astrawelt

Add a route to your home network via vpn, configure routing on the vpn server and Raspberry. Standard task, described in every second guide.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question