I am trying to setup split tunnelling so the traffic to a specific ip is not routed through the vpn. I have added to following rule to nft:
table inet excludeTraffic {
chain excludeOutgoing {
type route hook output priority -50; policy accept;
ip daddr *IP* ct mark set 0x00000f41 meta mark set 0x6d6f6c65;
}
}
Ran mullvad connect while running iperf3, speeds dropped by almost 10x, while shwoing no use of wg0-mullvad interface
This rule is weird because it works if I run this rule after i connect to mullvad and it is persistent, but if i reconnect mullvad, it stays there as it should, but it doesn't work
I'm trying to ssh into that IP with ssh -B eth0 to force eth0 instead of using wg0-mullvad.
But the main problem is speed. while i hvae mullvad connected, while not being used by any other application and no overlaod or anything like that, the average speed through ssh is around 10-30mbs. if i disconnect mullvad i get around 200-300 mbs. I made sure wg0-mullvad wasnt being used for the connection. Is there something I'm missing here?
Edit:
Added speed screenshot