Please sirs i need your consultancy in this matter and thanks in advance , the case is as follows:
1 MT(A) without real ip at home having the range 192.168.10.1/24
1 MT(B) with Real IP on ether1 at work with also ether2 and the range 192.168.100.2/24
MT(B) has PPTP Server configured with the range 192.168.101.2/24
MT(A) has a user PPTP client connected to the MT(B)
From MT(B) i can see that MT(A) is connected and assigned the ip 192.168.101.126, if I ping it from MT(B) new terminal i get a reply but if i ping from a workstation behind MT(B) LAN with the range 192.168.100.0/24 i get no reply, moreover if I connect to telnet from MT(B) I can connect too but I can’t from any workstation behind the LAN of MT(B) what is the possible solution so I can access MT(A) on ip 192.168.101.126 from a workstation with IP 192.168.100.27 behin the LAN of MT(B)? Thanks again for helping guys .
Do the two routers have routes to the subnets behind each via the PPTP tunnel?
If you don’t know post some detail. Start with the output of “/ip address print detail”, “/ip route print detail”, “/interface print detail”, “/ip firewall export”, as well as “/interface pptp-server export” and “/interface pptp-client export” from the relevant routers, and an accurate network diagram.
Hope that everything is clear now , thx again guys.
Concerning the network diagram it is not complicated, both MT are directly connected to internet 1 with public ip and the other with private ip and behind each MT a 24 port switch which all computers are connected to.
a) that’s only one router, not both
b) please use
tags to keep things readable
c) remove the 192.168.101.0/24 address from the WAN interface, that network exists on the tunnel interfaces (which it dynamically does) so that address servers no purpose than to confuse people. You're actually lucky that didn't break your entire Internet connection by applying your masquerade rule via the 192.168.100.2 address.
d) add routes to the LANs behind the PPTP tunnels via the respective next hop through the tunnel