From 60210b2277287074634c4d23e30ab1e2ab9b6c49 Mon Sep 17 00:00:00 2001 From: Rafael Gomez Date: Mon, 9 Dec 2024 13:37:46 +0000 Subject: [PATCH] Add firewall rules for keepalived in home zone --- resources/attributes/default.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/attributes/default.rb b/resources/attributes/default.rb index a66254d..aa8661c 100644 --- a/resources/attributes/default.rb +++ b/resources/attributes/default.rb @@ -8,7 +8,8 @@ 5432, 7946, 7980, 8001, 8080, 8081, 8083, 8084, 8300, 8301, 8302, 8400, 8500, 9000, 9001, 9092, 11211, 27017, 50505], 'udp_ports' => [53, 123, 161, 162, 514, 1812, 1813, 2055, 5353, 6343, 7946, 8301, 8302, 11211], - 'protocols' => ['igmp'], + 'protocols' => %w(igmp 112), + 'rich_rules' => ['rule family="ipv4" source address="224.0.0.18" accept'], }, 'public' => { 'tcp_ports' => [443, 514, 2056, 2057, 2058, 7779],