Hi,
I have two seperate Networks:
Network A: 192.168.1.0/24
Network B: 192.168.0.0/24
I want that all clients from network A are reaching Network B
I installed in each network a raspberry Pi with PiVPN (OpenVPN).
Then I have setup a Config on the PiVPN in Network B and imported it on the PiVPN on Network A. Network A PiVPN was successfully connected to PiVPN on Network B.
After I added the following route I was able to ping all clients on Network B from the Raspberry on Network A:
sudo ip route add 192.168.0.0/24 via 10.8.0.4 dev tun1
Then I thought I am nearly finished and just have to add the default route on the router on network A to point 192.168.0.0/24 to the PiVPN in Network A but unfortunatley not. I cannot reach Network B from any client on Network A, except the PiVPN itself.
What do I miss?
A tracert from a Client on Network A to a Client on Network B shows me that the default route is working, but it got stuck on the PiVPN