I have an Ubuntu server running virtual machines with KVM, it has the internal IP
I have not touched the default iptables configs on the host. The VMs use MacVTap to connect to the network.
On one virtual machine, with IP
192.168.3.108, I have installed OpenVPN. My goal is to access all machines and virtual machines from that network from outside.
On the VPN server I made sure that connections fake the local IP of the VM, by setting the POSTROUTING rule:
Chain POSTROUTING (policy ACCEPT) target prot opt source destination MASQUERADE all -- 10.8.0.0/16 anywhere
So far, my setup works well now, for one exception: I cannot access the host of the VPN server that has IP
192.168.3.101. For all attempts I get "network unreachable" and no response.
I assume that this has to be some kind of issue with the routing on the host of the VMs itself?