I'm trying to migrate my config of address list-based routing from RouterOS v6 to RouterOS v7.
Here's my RouterOS v6 config:
Code: Select all
/ip/firewall/address-list> add list block_bypass
/ip/firewall/address-list> add address=example.org list=block_bypass
/ip/firewall/mangle> add action=mark-routing chain=prerouting dst-address-list=block_bypass new-routing-mark=to-vpn
/ip/route> add dst-address=0.0.0.0/0 gateway=vpn routing-mark=to-vpn
New RouterOS v7 config:
Code: Select all
/ip/firewall/address-list> add list block_bypass
/ip/firewall/address-list> add address=example.org list=block_bypass
/routing/table/add name=to-vpn fib
ip/firewall/mangle/ add action=mark-routing chain=prerouting dst-address-list=block_bypass new-routing-mark=to-vpn
ip route/add dst-address=0.0.0.0/0 gateway=vpn routing-table=to-vpn
So the problem is that new config is working, but very badly. I see a lot of TCP Retransmissions, sites routed via vpn take several minutes to load, and do so not always on the first try.
Except for the new routing mark the configurations of the different RouterOS versions are identical.
It is not necessary to use routing mark, if someone can suggest a better address list-based routing option I would be very grateful.