I have 2 mikrotik routers connected to different ISP’s
for example:
Mikrotik_Server connected to ISP1 with IP: 250...*
Mikrotik_Client connected to ISP1 with IP: 75...* (Mikrotik_Client has users connected to LAN side)
I need to connect Mikrotik_Client to Mikrotik_Server via PPTP and use ISP1 for Mikrotik_Client clients
###########Mikrotik_Server Configration############
/ppp profile
add name="pptp" local-address=176.16.0.1 remote-address=176.16.0.2 use-compression=default use-vj-compression=default use-encryption=yes only-one=default change-tcp-mss=no
/ppp secret
add name=username password=password profile=pptp
/ip interface pptp-server server
set enabled=yes authentication=pap,chap,mschap1,mschap2 keepalive-timeout=15 default-profile=default
##########Mikrotik_Client Configration##############
/interface pptp-client
add name="pptp-out1" connect-to=250.*.*.* user=username password=password profile=default add-default-route=no allow=pap,chap,mschap1,mschap2 disabled=no
Now Mark your LAN traffic with firewall mangle & add a route 176.16.0.1 to marked trafic
/ip firewall mangle
add chain=prerouting src-address=192.168.1.0/24 action=mark-routing new-routing-mark=Lan_traffic passthrough=no
/ip route
add dst-address=0.0.0.0/0 gateway=176.16.0.1 routing-mark=Lan_traffic
thank you for help, javedshotline
i don’t know why, but traffic from my LAN cant go through
any idea?
have you added a return route for the 192.168.x.x network on the other end of the network so it knows how to route traffic back across the pptp link?
I have route:
3 ADC 192.168.1.0/24 192.168.1.1 LAN
what’s the wrong ?
???
![]()