I am trying to set up OpenVPN server on my home server running Debian 8 to serve Raspberry Pi3 running LibreElec.
On RPi I have add-on VPN Manager by zoomboid, where I imported .ovpn file I created, all good, but I can't access smb share on my home server. I tried to use the same .ovpn file on my windows 10 laptop and there, I am able to access the smb share maped from my home server, but the very same .ovpn file imported to the RPi only gets expected IP address from range 10.8.0.0/24 but if trying to add source via file manager, smb://192.168.0.200/Data says "No route to host".
ssh into RPi, route says:
Kernel IP routing table
Code: Select all
Destination Gateway Genmask Flags Metric Ref Use Iface default dir-615 0.0.0.0 UG 0 0 0 wlan0 10.8.0.0 10.8.0.5 255.255.255.0 UG 0 0 0 tun0 10.8.0.5 * 255.255.255.255 UH 0 0 0 tun0 192.168.0.0 * 255.255.255.0 U 0 0 0 wlan0 192.168.0.1 * 255.255.255.255 UH 0 0 0 wlan0
I don't need to redirect all traffic via vpn, in fact, I need to keep the IP of local inet provider, I just need to access that single smb share on remote network, where OVPN server runs, so I can play media shared from the server on remote network on local network, where RPi sits
network where server (with that smb share) runs: 192.168.0.0/24, accessed via internet from completely different country
local network, where ovpn client (Rpi LibreElec) runs is also 192.168.0.0/24
Could anyone please help me configure server.conf or/and client.ovpn to reach my (what looked like very simple) goal?