Hi,
I have a vpn gateway on 192.168.0.2 and i want to route traffic on it except for some websites. So I’ve created a rule to exclude routing to my vpn when the content is not the website ipchicken.com. I want this website to go to my default gateway. But instead what i got is the website is unavailable. But if i change the negation (!ipchicken.com to ipchicken.com) the rule is working the other way (ipchicken.com is routed to 192.168.0.2 and all the other websites to my default gw.) Why is it not working the other way ???
/ip firewall mangle
add action=route chain=prerouting content=!ipchicken.com disabled=yes dst-address=!192.168.0.1
dst-port=80,443 in-interface=ether2-master passthrough=no protocol=tcp route-dst=192.168.0.2 src-address=192.168.0.111
Thanks