]> git.openstreetmap.org Git - chef.git/commitdiff
Allow snmp to necrosan
authorTom Hughes <tom@compton.nu>
Mon, 7 Jan 2019 15:49:40 +0000 (15:49 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 7 Jan 2019 15:49:40 +0000 (15:49 +0000)
roles/milkywan.rb

index 529cc37b55fa5f3687ef8e2d3adfc7f7c0ef9ce6..7f00b290f6312c9e62f2243b15ccfe8d65f36c89 100644 (file)
@@ -10,6 +10,20 @@ default_attributes(
   :hosted_by => "MilkyWan",
   :location => "France",
   :networking => {
+    :firewall => {
+      :inet => [
+        {
+          :action => "ACCEPT",
+          :source => "net:212.25.24.64/28",
+          :dest => "fw",
+          :proto => "udp",
+          :dest_ports => "snmp",
+          :source_ports => "1024:",
+          :rate_limit => "-",
+          :connection_limit => "-"
+        }
+      ]
+    },
     :nameservers => ["8.8.8.8", "2a0b:cbc0:42::42"],
     :roles => {
       :external => {