I have two networks:

  • TPLink router takes from a mobile modem, gives the network 192.168.1.0/24 , address 162.168.1.1

  • The second network is the Mikrotik 6.42.3 router connected to TPLink and has the address 192.168.1.102 . He is creating a network 192.168.0.0/24 .

Added PPTP connection to Mikrotik to address 188.?.?.? user? password? . It seems to be connected and received the address 10.?.?.? . But from the second network the Internet still has a mobile address 192.?.?.? . And you need to use PPTP with an external address of 188.?.?.? . Everything was poked everywhere, nothing is clear, help with the PPTP connection.

Mikrotik interfaces: bridge (R), eth1 (R) is connected to TPLink, eth2 (RS), eth3 (RS), eth4 (RS), eth5 (RS), pptp (R), wlan (RS).

Bridge: wlan, eth2 (HWoffload), eth3 (HWoffload), eth4 (HWoffload), eth5 (HWoffload).

Firewall: accept (443), accept (1723), accept (gre protocol 47), {Out(bridge),srcnat,msquarade} , {Out(eth1),srcnat,msquarade} .

When you include {Out(pptp),srcnat,msquarade} in FireWall {Out(pptp),srcnat,msquarade} connection disappears altogether.

  • It is necessary that Mikrotik set itself a default route through PPTP. Well, or so that through policy routing I thrust packages from LAN in ppp. - Alexander Prokoshev
  • My IP-> DHCPClient-> eth1 has default route and PPTP is also a tick AddDefaultRoute. - AlexGlebe

0