We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi there, at my home I have 2 connections. (ADSL and 5G)
I want to run the script in a server, but I want to take the IP from another router (gateway). Is this possible please ?
Thanks in advance Denis
The text was updated successfully, but these errors were encountered:
Here are two ways to get the IP that way:
ifstatus wan | jsonfilter -e '@["ipv4-address"][0].address' ip route get 1.2.3.4 | awk '{print $7}'
Sorry, something went wrong.
Thanks a lot :-)
No branches or pull requests
Hi there,
at my home I have 2 connections. (ADSL and 5G)
I want to run the script in a server, but I want to take the IP from another router (gateway).
Is this possible please ?
Thanks in advance
Denis
The text was updated successfully, but these errors were encountered: