diff options
Diffstat (limited to 'secgroup-adaptation')
| -rw-r--r-- | secgroup-adaptation | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/secgroup-adaptation b/secgroup-adaptation new file mode 100644 index 0000000..921c9d8 --- /dev/null +++ b/secgroup-adaptation @@ -0,0 +1,23 @@ +#!/bin/sh + +# we're adding a bunch of relatively default groups. you can use the same syntax to open ports for munin or other things + +SECGROUP=$1 + +# where do we start? SSH? +nova secgroup-add-rule $SECGROUP tcp 22 22 0/0 + +# web is so common +nova secgroup-add-rule $SECGROUP tcp 80 80 0/0 +nova secgroup-add-rule $SECGROUP tcp 443 443 0/0 + +# ping. People like Ping, the story about Ping +nova secgroup-add-rule $SECGROUP ICMP -1 -1 0/0 + +# Ping doesn't like Onions, but we do! +nova secgroup-add-rule $SECGROUP tcp 9001 9001 0/0 + +# There's also this story about Alice, who gets into a rabbit hole +nova secgroup-add-rule $SECGROUP UDP 1194 1194 0/0 + +# That's it for now |
