Hello, I have a problem I can't solve since several days.
I installed ubuntu server, and use it as a router for my local machines. The subnet is 192.168.0.0/24. Next, my goal was to install a VPN on the server in order to connect clients to my local network from the Internet. So I installed OpenVPN SA in NAT mode. At this point, everything works very well.
The problem now is that I want all my VPN clients connected directly to the network 192.168.0.0 (of course physical clients are somewhere on the internet, not on the local network), getting their ip via the DHCP server and communicating with the local physical machines.
So I create a brige (br0) on eth1, then I put the VPN in bridge mode with bridge name : br0.
The VPN client connects, seems to get its IP via DHCP, ping on 192.168.0.1 works, but the client does not find the default dateway. In addition (the big problem) : the client can't reach my local machines (via ping) and vice versa.
In order to gives you an idea, this is what I want to reach :
But currently, my VPN clients don't get any default gateway and can't communicate with others machines.
Here some informations :
No default gateway from the client side
My /etc/network/interfaces :
My server firewall is disabled.
Any help is welcome, thank you in advance for your help
PS : Sorry for my poor english, I'm french.