I have a local network with two rasberry pi's one main server (Mouse) the other hosts VMs. (rat) one of those VMs has a openvpn client. (mole)
Mouse can access the VM with the rule
push "route 192.168.5.0 255.255.255.0"
but my wifi network 192.168.4.0 cant ping the vm.
I tried
push "route 192.168.4.0 255.255.255.0 192.168.5.1 1"
but that does not work
can some one help me with this?
My end goal setup is that when i roam i make a vpn connection to mouse. so i have all local access and that then again the out going internet access is routed trough mole.