Skip to content

Instantly share code, notes, and snippets.

@jriguera
Created February 24, 2016 22:52
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jriguera/ebf8bcb17a2cbd04c66d to your computer and use it in GitHub Desktop.
Save jriguera/ebf8bcb17a2cbd04c66d to your computer and use it in GitHub Desktop.
Neutron cmd to add security group rules
# Add Neutron security groups for ping and ssh
neutron security-group-rule-create \
--protocol icmp \
--direction ingress \
--remote-ip-prefix 0.0.0.0/0 \
default
neutron security-group-rule-create \
--protocol tcp \
--port-range-min 22 \
--port-range-max 22 \
--direction ingress \
--remote-ip-prefix 0.0.0.0/0 \
default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment