From 9ee0b9c3f8ab5e54e047d3de4844090696712f62 Mon Sep 17 00:00:00 2001
From: Evan Pratten <ewpratten@gmail.com>
Date: Sat, 22 Jul 2023 11:27:11 -0400
Subject: [PATCH] Keep metrics local by default

---
 README.md      | 4 ++--
 protomask.toml | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md
index e73664a..dd27900 100644
--- a/README.md
+++ b/README.md
@@ -27,12 +27,12 @@ Protomask uses a [TOML](https://toml.io) configuration file. Here is a functiona
 # The NAT64 prefix to route to protomask
 Nat64Prefix = "64:ff9b::/96"
 # Setting this will enable prometheus metrics
-Prometheus = "[::]:8080" # Optional, defaults to disabled
+Prometheus = "[::1]:8080" # Optional, defaults to disabled
 
 [Pool]
 # All prefixes in the pool
 Prefixes = ["192.0.2.0/24"]
-# The maximum duration a prefix will be reserved for after becoming idle
+# The maximum duration an ipv4 address from the pool will be reserved for after becoming idle
 MaxIdleDuration = 7200 # Optional, seconds. Defaults to 7200 (2 hours)
 # Permanent address mappings
 Static = [{ v4 = "192.0.2.2", v6 = "2001:db8:1::2" }]
diff --git a/protomask.toml b/protomask.toml
index 3fffc0f..2092731 100644
--- a/protomask.toml
+++ b/protomask.toml
@@ -1,12 +1,12 @@
 # The NAT64 prefix to route to protomask
 Nat64Prefix = "64:ff9b::/96"
 # Setting this will enable prometheus metrics
-Prometheus = "[::]:8080" # Optional, defaults to disabled
+Prometheus = "[::1]:8080" # Optional, defaults to disabled
 
 [Pool]
 # All prefixes in the pool
 Prefixes = ["192.0.2.0/24"]
-# The maximum duration a prefix will be reserved for after becoming idle
+# The maximum duration an ipv4 address from the pool will be reserved for after becoming idle
 MaxIdleDuration = 7200 # Optional, seconds. Defaults to 7200 (2 hours)
 # Permanent address mappings
 Static = [{ v4 = "192.0.2.2", v6 = "2001:db8:1::2" }]