openvpn VM can be reached by wifi network

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
daft_dutch
OpenVpn Newbie
Posts: 7
Joined: Wed May 05, 2021 3:07 pm

openvpn VM can be reached by wifi network

Post by daft_dutch » Sat May 08, 2021 11:27 am

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

Code: Select all

push "route 192.168.5.0 255.255.255.0"
but my wifi network 192.168.4.0 cant ping the vm.
I tried

Code: Select all

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.

daft_dutch
OpenVpn Newbie
Posts: 7
Joined: Wed May 05, 2021 3:07 pm

Re: openvpn VM can be reached by wifi network

Post by daft_dutch » Thu May 13, 2021 1:51 pm

Fixed by adding routes to the up script

Post Reply