I have a virtual ubuntu which has 2 ethernet interfaces. 1 connected to my lan and 1 connected to the wan (bridge), with a wan ip.
For some reason the script always chooses the lan interface to check the external IP, which is wrong.
I tried to change the metrics on the adapters, but this has nu influence on the behavior of the script.
Is there a way to force an update on a specific interface ?
I have a fork of my own which you can use to fix this problem of yours. It lets you set your own ip resolver in config. See if this helps: https://github.com/nilscript/one-solution
I have a virtual ubuntu which has 2 ethernet interfaces. 1 connected to my lan and 1 connected to the wan (bridge), with a wan ip. For some reason the script always chooses the lan interface to check the external IP, which is wrong. I tried to change the metrics on the adapters, but this has nu influence on the behavior of the script.
Is there a way to force an update on a specific interface ?