I have a remote L2TP VPN which my synology diskstation connects to.
I would like to use my synology diskstation then as a gateway to get to hosts on this VPN.
The VPN assigns addresses in the 10.0.0.1 space.
So I tried the following static route on my local router (192.168.1.1).
The address of my diskstation, which I assume will serve as the gateway to the VPN is, on my local network: 192.168.1.15
So I tried the following static route:
Destination: 10.0.1.0
Subnet Mask: 255.255.255.0
Gateway: 192.168.1.15
Now when I try to ping an address on the VPN, I get the following:
ping 10.0.1.178
Request timeout for icmp_seq 0
92 bytes from linksys.someinternet.com (192.168.1.1): Redirect Host(New addr: 192.168.1.15)
Vr HL TOS Len ID Flg off TTL Pro cks Src Dst
4 5 00 0054 9474 0 0000 3f 01 19cd 192.168.1.14 10.0.1.178
However, I don't understand the information provided here. I can't seem to actually SSH to 10.0.1.178 so I suspect the information here is informative of a misconfiguration, but I don't see what.
Similarly, if I try a trace route, I get the following:
traceroute to 10.0.1.178 (10.0.1.178), 64 hops max, 52 byte packets
1 linksys18923 (192.168.1.1) 1.252 ms 0.611 ms 0.545 ms
2 192.168.1.15 (192.168.1.15) 0.941 ms 0.857 ms 0.876 ms
3 linksys18923 (192.168.1.1) 1.156 ms 1.190 ms 1.268 ms
4 192.168.1.15 (192.168.1.15) 1.176 ms 1.210 ms 1.155 ms
So it appears that the packet goes back and forth from my gateway and the router. It looks like there is some incorrect closed loop present but I don't see where my misconfiguration is.
Is my static route correct?