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 192.168.0/24)
I need to use ISP1 for Mikrotik_Client clients (192.168.0/24)
###########Mikrotik_Server Configration############
Code:
/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##############
Code:
/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
LAN traffic with firewall mangle & add a route 176.16.0.1 to marked trafic
Code:
/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
LAN clients cant reach to INTERNET via ISP1
Please help