"Routing Table" Parameter for IPv6 Routes Not in Effect (v7.5)
detail see#4
/routing/table add name=test fib /ipv6/firewall/address-list add list=ISP_1_Out address=www.cloudflare.com /ipv6/firewall/mangle add chain=prerouting dst-address-list=ISP_1_Out action=mark-routing new-routing-mark=test passthrough=yes /ipv6/route add dst-address=::/0 gateway=PPPoE_ISP_1 distance=1 routing-table=test /ipv6/route add dst-address=::/0 gateway=PPPoE_ISP_2 distance=2 routing-table=main
Hi,
7.8, not corrected. Same use case as the OP. Work great in ipv4, but ipv6 doesn't use a custom route table, just the main one.
yes, i can see counters increaseA very similar setup works for me on IPv6... Are the rules hit, so do the counters increase?
我想有更多的规则。你给任何机会your complete firewall ruleset? Chance are that they interact in a way you do not expect.
root@io ~ # curl -6 https://eworm.de/ip/ 2003:cf:2f25:4200:3b07:7ea4:e853:5924
[admin@jupiter] > /ipv6/firewall/address-list/add address=eworm.de list=via-vpn [admin@jupiter] > /ipv6/firewall/address-list/print where list=via-vpn Flags: D - DYNAMIC Columns: LIST, ADDRESS # LIST ADDRESS 16 via-vpn 2606:4700:4700::1001/128 17 via-vpn 2001:4860:4860::8844/128 22 via-vpn eworm.de ;;; eworm.de 23 D via-vpn 2a01:4f8:222:1e83::80/128
root@io ~ # curl -6 https://eworm.de/ip/ 2a03:1b20:6:f011::a02e
/routing/rule/add action=lookup-only-in-table routing-mark=via-vpn table=via-vpn
This one make my config works!
So it does work and something is missing or wrong with your configuration. I have this:
Perhaps you need to adopt that for your case?Code:Select all/routing/rule/add action=lookup-only-in-table routing-mark=via-vpn table=via-vpn
Thx you, I had the same problem.Great, so have fun!
Wondering why this is required for IPv6 though, but IPv4 works without.