I have 4 networks:
A: 10.10.1.0/24 --\ B: 10.10.2.0/24 ---\ Juniper SSG-350M C: 10.10.3.0/24 ---/ D: 10.10.4.0/24 --/
I have a FreeBSD host in network D with an OpenVPN server working in tunnel mode with this segment:
Route rule applied after clients connect:
route add -net 10.10.0.0 172.16.13.1
Clients connected to the OpenVPN can ping/access hosts from all other networks:
172.16.13.X --> 172.16.13.1 (openvpn gw) --> 10.10.X.1 (A,B,C.D gw) --> 10.10.X.X
But for some reason can not ping / telnet the gateways (
10.10.X.1) from a connected client:
172.16.13.X --> 172.16.13.1(openvpn gw) --> 10.10.X.1
If I enable NAT on the OpenVPN host, I do can ping/telnet the gateways, and continue to have access to the other hosts, therefore I would like to know, why is that I cannot ping the gateways when not using NAT?
Currently OpenVPN is working fine only using routes not need to do NAT, but just would like to know why ping/telnet not working on the gateways and does work for the host.