diff options
| author | kwadronaut <kwadronaut@leap.se> | 2013-06-11 11:27:39 +0200 |
|---|---|---|
| committer | kwadronaut <kwadronaut@leap.se> | 2013-06-11 11:27:39 +0200 |
| commit | 5cbf9966db3e3d1390fa3cbea50dd73dbd8028c4 (patch) | |
| tree | 4b5239bcc8a2c18c6389c445a6573a0197e23788 /secgroup-adaptation | |
initial help with and for PC-administartion
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 |
