Connecting to Raspberry Pi VPN - no access to LAN
Posted: Fri Feb 10, 2023 11:50 pm
If I have posted this in the wrong place, I am sorry. This is my first day. If it should go somewhere else, please tell me and I will fix it right away.
I used the following web site to install OpenVPN on a Raspberry Pi
https://pimylifeup.com/raspberry-pi-vpn-server/
I followed all the specific instructions. I used OpenVPN on a remote Windows PC and loaded the .ovpn file. I can log in to the VPN server successfully.
What I can't do is see anything on the server side LAN. That was the entire point of the exercise. I don't want to use RDP and I want to access a NAS safely.
Here are my details.
Server side
Raspberry Pi
192.168.4.36
I use Sonic with an EERO router
I forwarded port 1194 UDP through my WAN address.
The PC I want to reach on the server side LAN is 192.168.4.30 and the NAS is on a separate router 192.168.11.148
The client side is the following.
Xfinity cable modem.
PC 10.0.0.204
There I installed OpenVPN and loaded the .ovpn file.
I do successfully log in to the VPN. The VPN assigns IP 10.245.22.2
When I use IPCONFIG I can see that this is one of my IP addresses.
Considering that I think everyone only does this in order to safely access a remote LAN, I don't understand why that is not part of the instructions. I can definitely log in the the VPN, but that's it. I cannot access a single thing on the server side LAN.
I read some descriptions and watched some videos, but it's not very clear to me exactly what I need to do. With the EERO I don't think I can assign a static route. Can I set up the VPN properly to allow remote LAN access?
Thank you very much if you respond.
Greg
I used the following web site to install OpenVPN on a Raspberry Pi
https://pimylifeup.com/raspberry-pi-vpn-server/
I followed all the specific instructions. I used OpenVPN on a remote Windows PC and loaded the .ovpn file. I can log in to the VPN server successfully.
What I can't do is see anything on the server side LAN. That was the entire point of the exercise. I don't want to use RDP and I want to access a NAS safely.
Here are my details.
Server side
Raspberry Pi
192.168.4.36
I use Sonic with an EERO router
I forwarded port 1194 UDP through my WAN address.
The PC I want to reach on the server side LAN is 192.168.4.30 and the NAS is on a separate router 192.168.11.148
The client side is the following.
Xfinity cable modem.
PC 10.0.0.204
There I installed OpenVPN and loaded the .ovpn file.
I do successfully log in to the VPN. The VPN assigns IP 10.245.22.2
When I use IPCONFIG I can see that this is one of my IP addresses.
Considering that I think everyone only does this in order to safely access a remote LAN, I don't understand why that is not part of the instructions. I can definitely log in the the VPN, but that's it. I cannot access a single thing on the server side LAN.
I read some descriptions and watched some videos, but it's not very clear to me exactly what I need to do. With the EERO I don't think I can assign a static route. Can I set up the VPN properly to allow remote LAN access?
Thank you very much if you respond.
Greg