Hi,
i’m trying to make a VPN Gateway router for connecting to 70-80 LANs via PPTP and L2TP connections but the problem is i’m stuck on the first one.
i managed to make a new PPTP interface and get it connected with 1169 MTU and MRU
the problem is that the connection is really poor so i can just ping the remote LAN’s IP with 32byte packet size, if i increase the packet size to 320byte or more the result will only be time out:(
the mystery is where if i use Windows or OSx box this PPTP client works like charm without any request time out.
/interface pptp-client
add allow=pap connect-to=VPNServerIP disabled=no max-mru=1196 max-mtu=1196 name=vpnName password=“PASS” profile=default user=USER
/ip route
add comment=vpnName disabled=yes distance=1 gateway=192.168.40.1 routing-mark=vpnMark
add distance=1 gateway=10.1.0.1
add comment=vpnName distance=1 dst-address=VPNServerIP/32 gateway=10.1.0.1
add comment=vpnName distance=1 dst-address=192.168.102.222/32 gateway=192.168.40.1
/ip firewall nat
add action=masquerade chain=srcnat dst-address-list=vpnList out-interface=vpnName
add action=masquerade chain=srcnat out-interface=ether1
add action=dst-nat chain=dstnat disabled=yes dst-port=1234 protocol=tcp to-addresses=192.168.102.222 to-ports=3389
/ip firewall mangle
add action=mark-routing chain=prerouting dst-address-list=vpnList new-routing-mark=vpnMark