Hi
I have a main (Head office) mikrotik router with 2 adsl and 1 diginet connection to the net. The default route is one of the adsl connections. My L2 vpn works fine when im connecting on the adsl public ip but does not connect on the diginet if the default route is adsl . If i use PPTP it work 100% on the diginet . Below is my setup to route the incoming trafic out the diginet again. What else do i need to mark on the mangle rules for the L2 vpn ?
add action=mark-connection chain=prerouting comment=“mark diginet connection” disabled=no in-interface=wan2 new-connection-mark=diginet_conn passthrough=yes
add action=mark-connection chain=input comment="mark diginet connection"disabled=no in-interface=wan2 new-connection-mark=diginet_conn passthrough=yes
add action=mark-connection chain=forward comment=“mark diginet connection” isabled=no in-interface=wan2 new-connection-mark=diginet_conn passthrough=yes
add action=mark-routing chain=prerouting comment= "if diginet connection mark coming from lan/local then mark routing"connection-mark=diginet_conn disabled=no in-interface=lan new-routing-mark=diginet_rt passthrough=yes
add action=mark-routing chain=output comment=“if diginet mark routing” connection-mark=diginet_conn disabled=no new-routing-mark=diginet_rt passthrough=yes
/ip route
add comment=“Route for diginet only” disabled=no distance=1 dst-address=0.0.0.0/0 gateway=wan2 routing-mark=diginet_rt scope=30 target-scope=10
add check-gateway=ping comment=“Default Route” disabled=no distance=1 dst-address=0.0.0.0/0 gateway=wan3 scope=30 target-scope=10
Thanks