Hi,
I have Asus rt-n18u router with tomato firmware and behind it is my lan with few laptops, printer and smartphones and Raspberry Pi.
On router I configured OpenVPN server so I'm able to remotely connect to my network by using my lan IP's. To avoid opening ports and security reasons.
My lan is on 192.168.0.0 subnet and VPN is on 10.10.0.0
On server I choosed push lan to clients .
This setup is working perfectly and it was easy to set it up.
Few days ago I bought subscription on PIA (
www.privateinternetaccess.com)
My goal was that Raspberry PI is always using PIA to be more protected (pi is my NAS and torrent machine).
I installed openvpn on RAS, configured it with PIA values and its working.
My problem is that I cant't reach PI through my own VPN anymore.
For example I'm on work and connected to my VPN server: all devices behind my router are reachable except RasPi.
For example if I enter in win explorer \\192.168.0.101 which is my laptop IP, I'm entering shared files -
laptop isn't using PIA in this case
But if I enter PI's address (pi is connected to PIA) , nothing. Same thing when using ftp. On router QOS I see this:
https://od.lk/s/MF8xMDg0MDg5NjJf/rasPi.jpg
If I connect my LAPTOP to PIA (using Openvpn) I can reach it from remote location through my vpn. Also when on LAN I can reach RasPi locally. Just not through my VPN.
In case that I STOP PIA openvpn connection on RAS Pi, everything is
working again. I can then enter \\192.168.0.104 on my work PC and enter PI shared files.
So what kind of ROUTING and WHERE should I enter that I will be able to connect Ras to Pia but that it is still
reachable through my VPN .
Br,
Kresimir Stancic