raspberrybuc
Posts: 1
Joined: Sun Aug 16, 2020 9:49 am

Manage the remote router settings from a raspberry pi configured as a vpn server

Sun Aug 16, 2020 10:07 am

Hi!
I do not know how to continue my small project and I hope you know how to give me some advice to continue.
I have already set up a UDP tunnel with Openvpn client on one side, and Openvpn server on raspberry pi on the other side.
The VPN works!
From the vpn server (ip 10.8.0.1) I ping the client (ip 10.8.0.2).
I would like to access the router settings of the openvpn client but from the openvpn server but I don't know how.
Obviously I know how do it from the colocated pc and router by accessing the ip of the router 192.168.0.1
This would be a solution to manage a remote router with 4G sim and natted public ip.
Could someone help me?

epoch1970
Posts: 5203
Joined: Thu May 05, 2016 9:33 am
Location: Paris, France

Re: Manage the remote router settings from a raspberry pi configured as a vpn server

Sun Aug 16, 2020 11:52 am

I think you’ll need to open access on the server side to the 192.168.0 network via the tunnel network.
According to
https://openvpn.net/community-resources ... er-subnet/
and if I understand correctly, you’d need a combination of “route” and “iroute” stanzas to achieve that.

I don’t remember ever using “iroute”, I’m not a big fan of server mode myself. Please verify this is indeed what you need.
"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème." Les Shadoks, J. Rouxel

Return to “Other projects”