Skip to content

Commit

Permalink
Remove IRCbot manifest and add IPv6 http/https outgoing fw rule
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianSW committed Feb 21, 2019
1 parent 9250271 commit fffc392
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 11 deletions.
1 change: 0 additions & 1 deletion manifests/site.pp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
isslave => true,
}
include role::mailserver
include role::ircbot
include role::puppetmaster
include role::deploymenthost
class { 'certbot':
Expand Down
32 changes: 32 additions & 0 deletions modules/droidwiki/manifests/default.pp
Original file line number Diff line number Diff line change
Expand Up @@ -89,24 +89,56 @@
action => 'accept',
}

firewall { '300 accept outgoing https traffic IPv6':
proto => 'tcp',
sport => '443',
chain => 'OUTPUT',
action => 'accept',
provider => 'ip6tables',
}

firewall { '301 accept outgoing https traffic':
proto => 'tcp',
dport => '443',
chain => 'OUTPUT',
action => 'accept',
}

firewall { '301 accept outgoing https traffic IPv6':
proto => 'tcp',
dport => '443',
chain => 'OUTPUT',
action => 'accept',
provider => 'ip6tables',
}

firewall { '302 accept outgoing http traffic':
proto => 'tcp',
dport => '80',
chain => 'OUTPUT',
action => 'accept',
}

firewall { '302 accept outgoing http traffic IPv6':
proto => 'tcp',
dport => '80',
chain => 'OUTPUT',
action => 'accept',
provider => 'ip6tables',
}

firewall { '303 accept outgoing http traffic':
proto => 'tcp',
sport => '80',
chain => 'OUTPUT',
action => 'accept',
}

firewall { '303 accept outgoing http traffic IPv6':
proto => 'tcp',
sport => '80',
chain => 'OUTPUT',
action => 'accept',
provider => 'ip6tables',
}
}
10 changes: 0 additions & 10 deletions modules/role/manifests/ircbot.pp

This file was deleted.

0 comments on commit fffc392

Please sign in to comment.