From 0bb17cd2f34918add1ddaedeb0a66531dea561a3 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Sun, 7 Sep 2025 17:32:13 +0200 Subject: go-away: use config.yml and vendor all configuration files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert Günzler --- .../files/config/snippets/networks-private.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 bundles/go-away/files/config/snippets/networks-private.yml (limited to 'bundles/go-away/files/config/snippets/networks-private.yml') diff --git a/bundles/go-away/files/config/snippets/networks-private.yml b/bundles/go-away/files/config/snippets/networks-private.yml new file mode 100644 index 0000000..4d81b6a --- /dev/null +++ b/bundles/go-away/files/config/snippets/networks-private.yml @@ -0,0 +1,22 @@ +networks: + localhost: + # localhost and loopback addresses + - prefixes: + - "127.0.0.0/8" + - "::1/128" + private: + # Private network CIDR blocks + - prefixes: + # private networks + - "10.0.0.0/8" + - "172.16.0.0/12" + - "192.168.0.0/16" + - "fc00::/7" + # CGNAT + - "100.64.0.0/10" + +conditions: + is-network-localhost: + - &is-network-localhost 'remoteAddress.network("localhost")' + is-network-private: + - &is-network-private 'remoteAddress.network("private")' \ No newline at end of file -- cgit 1.4.1