I all,
Do you know the way how i can manage the remote 4G router through a vpn?
If I connect to the 4G router lan, I manage the vpn server side router (router server vpn 192.168.1.1) without any problems. If, on the other hand, I connect to the LAN of the router on the vpn server side, I cannot manage the 4G router of the vpn client (client vpn router 191.168.0.1).
On both sides I have:
SERVER
pi01 192.168.1.254
router_X 192.168.1.1
CLIENT
pi02 192.168.0.51
router_Y 192.168.0.1
[pi01] ---ping---> [pi02]
[pi01] <---ping--- [pi02]
[pi01] ---**NOTping**---> [roter 192.168.0.51]-[pi02]
[pi01]-[roter 192.168.1.254] <---ping--- [pi02]
Thanks
Manage the remote 4G router through pivpn
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 4
- Joined: Fri Oct 02, 2020 9:51 am
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Manage the remote 4G router through pivpn
Did you use https://pivpn.io to install your Openvpn Server ?
-
- OpenVpn Newbie
- Posts: 4
- Joined: Fri Oct 02, 2020 9:51 am
Re: Manage the remote 4G router through pivpn
Yes of course, and it works perfectly!
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Manage the remote 4G router through pivpn
Then you now need to start reading the openvpn howto:
https://community.openvpn.net/openvpn/w ... rversubnet
https://community.openvpn.net/openvpn/w ... rversubnet
-
- OpenVpn Newbie
- Posts: 4
- Joined: Fri Oct 02, 2020 9:51 am
Re: Manage the remote 4G router through pivpn
I have done what is written in the guidelines "Including multiple machines on the client side when using a routed VPN (dev tun)" and then I was able to ping client 192.168.0.51 from server. I have not encountered any problems guys! My problem now is that i cannot access the ip address of the 4G router througth vpn. I am not understanding why from the client LAN instead I connect to the ip address of the router server 192.168.1.1 and manage it.
-
- OpenVPN User
- Posts: 20
- Joined: Mon May 31, 2021 4:51 pm
Re: Manage the remote 4G router through pivpn
Maybe route the traffic via a VPS? Let both sites connect with the VPS and then establish the IPsec connection between the sites.