I want to set up the router as pretty much a VPN server only, so i don't need any other traffic flowing over it other than whats comes in over the VPN, and i want it setup in a multiple WAN senarios, so that i can have a VPN over ISPA, B, C, etc.
My VPNS are not connecting fully, I am getting to the "SYN" status only. If i enable a default gateway, then connections work fine, but I don't want this as i only want it that ISPA traffic flows over ISPA's network.
My understanding is that the Mangle Rules would do this for you, but it does not seem to work.
Code: Select all
/ip address
add address=XXX.XXX.XXX.XXX/27 comment="ISP-A" interface=ether1 network=XXX.XXX.XXX.XXX
add address=XXX.XXX.XXX.XXX/27 comment="ISP-B" interface=ether2 network=XXX.XXX.XXX.XXX
/ip firewall mangle
add action=mark-routing chain=prerouting in-interface=ether1 log=yes new-routing-mark=ISP-A-Route-Out
add action=mark-routing chain=prerouting in-interface=ether2 log=yes new-routing-mark=ISP-B-Route-Out
/ip route
add distance=1 gateway=XXX.XXX.XXX.XXX routing-mark=ISP-A-Route-Out
add distance=1 gateway=XXX.XXX.XXX.XXX routing-mark=ISP-B-Route-Out
add disabled=yes distance=99 gateway=XXX.XXX.XXX.XXX #Only if i enable this does the VPN and basically any connection to the router work
Any assistance would help guys,
P.S. Pinging each via Each ISP works correctly