How to use your node's IP in the policies?

You can use your node's IP

  • ${sys.ip_addresses} is the list of the machine's IPs
  • ${sys.ipv4} is the first non-loopback IPv4 address
  • ${sys.ipv4[interface_name]} gives the IPv4 address associated to a particular interface

This article was helpful for 2 people. Is this article helpful for you?