PPTP Routing

Hi..

i need your help resp a tip where am i missing the point. I know that configuration is pretty simple but still its not working..

i have my local network 10.0.0.0/24 subnet… and have connected to the network 192.168.92.0/24 via VPN PPTP. I got the local address 192.168.92.125. I have put route
Screen Shot 2018-04-28 at 22.02.01.png
I can not ping any IP address from my local network but a remote gateway 192.168.92.254.

What am i doing wrong? What do i miss?

thank you

Korg

It looks to me like you’re adding route on VPN client, with destination being client’s own LAN. Or am I wrong? If that’s the case, then it won’t do you any good. You’d need to add such route on server side, but it’s only possible when it’s also under your control. If not, you need to add masquerade rule (with out-interface=) on client, and then any device from 10.0.0.0/24 will be able to access anything in 192.168.92.0/24 (only to devices in remote network, everything will look like coming from 192.168.92.125).

The way you set-up route is: to reach network 10.0.0.0/24, go through gateway 192.168.92.254. You need to set-up route towards network, not from network.

Tx guys…

what i did is ..i’ve added those two lines

/ip firewall nat
add action=masquerade chain=srcnat out-interface=pptp-out2-wanted

/ip route
add distance=1 dst-address=192.168.92.0/24 gateway=pptp-out2-wanted

and i could both ping and access remote 192.168.92.0/24 subnet.

tx again

korg