Skip to content

Commit

Permalink
Merge pull request docker-archive#357 from docker/close-worker-port-2…
Browse files Browse the repository at this point in the history
…2-and-80

don't open port 22 and 80 on worker nodes to the world
  • Loading branch information
nathanleclaire authored Oct 17, 2016
2 parents a935c6e + 7bd4f06 commit 0f76fa5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 15 deletions.
6 changes: 1 addition & 5 deletions aws/cloudformation/docker_for_aws.json
Original file line number Diff line number Diff line change
Expand Up @@ -433,11 +433,7 @@
"VpcId": {
"Ref": "Vpc"
},
"GroupDescription": "Node SecurityGroup",
"SecurityGroupIngress": [
{"IpProtocol": "tcp","FromPort": "22","ToPort": "22","CidrIp": "0.0.0.0/0"},
{"IpProtocol": "tcp","FromPort": "80","ToPort": "80","CidrIp": "0.0.0.0/0"}
]
"GroupDescription": "Node SecurityGroup"
}
},

Expand Down
6 changes: 1 addition & 5 deletions aws/cloudformation/docker_for_aws_cloud.json
Original file line number Diff line number Diff line change
Expand Up @@ -457,11 +457,7 @@
"VpcId": {
"Ref": "Vpc"
},
"GroupDescription": "Node SecurityGroup",
"SecurityGroupIngress": [
{"IpProtocol": "tcp","FromPort": "22","ToPort": "22","CidrIp": "0.0.0.0/0"},
{"IpProtocol": "tcp","FromPort": "80","ToPort": "80","CidrIp": "0.0.0.0/0"}
]
"GroupDescription": "Node SecurityGroup"
}
},

Expand Down
6 changes: 1 addition & 5 deletions aws/cloudformation/docker_for_aws_ddc.json
Original file line number Diff line number Diff line change
Expand Up @@ -454,11 +454,7 @@
"VpcId": {
"Ref": "Vpc"
},
"GroupDescription": "Node SecurityGroup",
"SecurityGroupIngress": [
{"IpProtocol": "tcp","FromPort": "22","ToPort": "22","CidrIp": "0.0.0.0/0"},
{"IpProtocol": "tcp","FromPort": "80","ToPort": "80","CidrIp": "0.0.0.0/0"}
]
"GroupDescription": "Node SecurityGroup"
}
},

Expand Down

0 comments on commit 0f76fa5

Please sign in to comment.