Remote
Both use Mikrotik routers and both are connected with Wireguard.
For long time now, I have Wireguard configured for these locations and I can access both sides without any issue.
Today I build a VLAN21 which I want to route the Internet connection through my remote location.
What I setup:
Local location:
Route Table (wg)
Routing Mark for all traffic of interface WiredLan
Route for 0.0.0.0/0 to remote location
Allowed Wireguard 0.0.0.0/0
Remote location:
Route from the remote location to the new subnet (through WG)
Allow new subnet 10.10.21.0/24 to be reached by the WG
Everything works! Except HTTPS is slow! I suspect something with clamping. I do not have dual Nat.
Both sides use PPPoE on their fiber setup
Both sides work as should
Local L Relevant Config:
I do not know what causing only https to be really slow. I suspect Clamping. I tried different settings. Nothing fixes it.
I get it.
I removed mangle this morning (an hour ago) as I was also looking into the policy! and did this change.
Now works as should. I was also negative on mangle use.
It's because the OP removed the previous config export so I don't know what the subnet is. And according to OP, he also used Routing Mark based on source interface in his mangle rules.
As for the reason for dst-address=0.0.0.0/0, it's because the routing rule applies to IPv6 too if you only specify interface without specifing any address in either src-address or dst-address.
If we know the subnet of the VLAN21 interface, then it's perfectly fine to use src-address like you wrote. Although I still prefer interface for these cases because then there would be one less spot to track and modify when you for some reason want to change the subnet address of VLAN21.