Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin-robertson committed Jun 21, 2024
1 parent a8640d3 commit b6a9e63
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions manifests/firewall.pp
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,22 @@
# proto => 'icmp',
# jump => 'accept',
# }
# -> firewall { '001 accept all to lo interface':
# proto => 'all',
# iniface => 'lo',
# jump => 'accept',
# }
# -> firewall { '002 reject local traffic not on loopback interface':
# iniface => '! lo',
# proto => 'all',
# destination => '127.0.0.1/8',
# jump => 'reject',
# }
# -> firewall { '003 accept related established rules':
# proto => 'all',
# state => ['RELATED', 'ESTABLISHED'],
# jump => 'accept',
# }
firewall { '001 accept all to lo interface':
proto => 'all',
iniface => 'lo',
jump => 'accept',
}
-> firewall { '002 reject local traffic not on loopback interface':
iniface => '! lo',
proto => 'all',
destination => '127.0.0.1/8',
jump => 'reject',
}
-> firewall { '003 accept related established rules':
proto => 'all',
state => ['RELATED', 'ESTABLISHED'],
jump => 'accept',
}
# Add rules for apache
if $observium::manage_ssl {
firewall { "50 Allow https access ${observium::apache_sslport}":
Expand Down

0 comments on commit b6a9e63

Please sign in to comment.