Running VyOS 1.5-rolling-202401250024. I have 2 WAN interfaces, a static IP fibre (eth0) and a dynamic IP LTE (eth1) for failover.
I set up dynamic DNS (Cloudflare) using a web request so that various host addresses will follow whichever interface is being used at the time.
The issue I’m having is that it seems while failover is working correctly for all LAN traffic, VyOS seems to be preferring the failover connection for its own traffic. Running ‘curl api.ipify.org’ returns the IP of the failover connection when both interfaces are active, rather than the primary. At the same time, LAN traffic is being identified as from the primary interface.
I assume that there is an issue with my NAT table, but I don’t understand it enough to debug it. At the moment, the source nat table just contains the below. Thanks!
It’s probably a bug (at least it looks like)
We need to check the logic, and how it tied or not to wan-loadbalancing @sarthurdev I think it’s need to be addressed in new implementation of wan-loadbalance
Seems like there’s no LB logic configured for local generated traffic, than main routing table will be used. Check if default route on LTE interface is “best” (preferred), try altering its distance.