Skip to content

Commit

Permalink
fixes for the firewall setup
Browse files Browse the repository at this point in the history
  • Loading branch information
kreczko committed Aug 15, 2013
1 parent c1335ae commit fd39c91
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions manifests/firewall.pp
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,25 @@
# Defines firewall rules for the HTCondor server (CE)
#
class htcondor::firewall (
$worker_nodes_network = '127.0.0.1/32') {
$worker_nodes_network = '127.0.0.1') {
firewall { '200 Allow worker nodes to contact server':
action => 'accept',
source => $worker_nodes_network,
proto => 'all',
proto => 'tcp',
state => [
'ESTABLISHED',
'NEW'],
dport => '9000-1000',
dport => '9000-10000',
}

firewall { '201 Allow worker nodes to contact server':
action => 'accept',
source => $worker_nodes_network,
proto => 'tcp',
state => [
'ESTABLISHED',
'NEW'],
dport => '9000-10000',
}

}

0 comments on commit fd39c91

Please sign in to comment.