I have the following configuration:
Swisscom Internet Box 3: 172.20.250.250 (255.255.0.0)
VPN Box: 172.20.250.201
- permanent connects to 10.143.99.0 255.255.255.0
Client: 172.20.3.1 (default Gateway to 172.20.250.250)
...and DHCP Clients with default Gateway to 172.20.250.250
To be able to reach the network behind the VPN I have added on the Internet Box a static route
10.143.99.0 255.255.255.0 with forwarding device to 172.20.250.201
From my point of view this should work, all traffic outside of the local network 172.20.0.0 is redirected to the Internet Box with 172.20.250.250, for the VPN Network 10.143.99.0 the Swisscom Box should redirect the traffic to the VPN Box with 172.20.250.201 (what I understood from the static route).
But – it does not work; I do not understand it. It looks like the static route in the Internet Box does not work correctly for traffic coming from the LAN Interface.
On the Client 172.20.3.1 have temporarily changed the default gateway to 172.20.250.201 and the VPN network 10.143.00.0 can be reached without issue but no longer "the rest of the world" what is expected.
Interesting Note: If I reboot the Internet Box and the VPN Box the routing works correctly for a short period of time ....
Any Idea to fox the issue?
Thanks
Peter