Hello everyone. I deal primarily with WatchGuard and have no experience with getting around in RouterOS. I have a client with a WatchGuard at their main office and a MikroTik at their branch office. Using bits and pieces from the many threads here in the forums, I successfully created an IPsec tunnel between the devices. My next goal is to route all internet traffic from the branch office to the main office for content filtering. I have not been successful thus far and would appreciate any help.
WatchGuard firmware: 11.9.1
RouterOS: 6.10
WatchGuard WAN: 173.xxx.yyy.96 (static)
MikroTik WAN: 66.xxx.yyy.11 (static)
WatchGuard LAN: 192.168.100.254/24
MikroTik LAN: 192.168.200.254/24
ether1=WAN
ether2=LAN
Please let me know if I need to paste other information.
I created the following based on different threads:
/ip firewall mangle
add chain=prerouting action=mark-routing new-routing-mark=web_traffic passthrough=no protocol=tcp dst-address-type=!local in-interface=ether1 dst-port=80
add chain=prerouting action=mark-routing new-routing-mark=web_traffic passthrough=no protocol=udp dst-address-type=!local in-interface=ether1 dst-port=80
add chain=prerouting action=mark-routing new-routing-mark=web_traffic passthrough=no protocol=tcp dst-address-type=!local in-interface=ether1 dst-port=443
add chain=prerouting action=mark-routing new-routing-mark=web_traffic passthrough=no protocol=udp dst-address-type=!local in-interface=ether1 dst-port=443
Here’s where I get stuck (if I’m not stuck already). When trying to create the route, I am unsure of what to put for the gateway. Also, the default route always stays first in the route list no matter what I enter.
Default route (for informational purposes):
/ip route
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=66.xxx.yyy.11 scope=30 target-scope=10
The route I am trying to add:
/ip route
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=??? routing-mark=web_traffic scope=30 target-scope=10
Again, thanks for any help you can give.