Is it possible to somehow share the OpenVPN connection I have on my Windows laptop to an RPi4 sitting on the same home LAN as the laptop?
The reason is that I am programming for the RPi on the RPi itself (using FreePascal) and I want to have the code managed through subversion at our company office. The SVN server is not externally connected so whenever I use it on the laptop I connect an OpenVPN tunnel to the company and then I can use the SVN.
If I work on a Linux virtual machine hosted by VMWare on my laptop I get direct access from Linux to the company SVN server since the virtual machine is using NAT on the laptop host for networking and thus sees the same network as the laptop does.
This has worked great for all Linux (Intel based CPU) coding, but I cannot use it for RPi coding since the RPi cannot be virtualized via VMWare...
So I have to figure out some other way to be able to use subversion from the RPi...
I have in the past tried to install openvpn client on the RPi and connect a tunnel to the company directly from it, but unlike OpenVPN client on Windows I have failed to find a way on the RPi to connect the tunnel only when needed and pull it down when no longer needed.
Maybe it can be done, but in that case I would be grateful for advice on how...
Any ideas?