Created
February 24, 2016 22:52
-
-
Save jriguera/ebf8bcb17a2cbd04c66d to your computer and use it in GitHub Desktop.
Neutron cmd to add security group rules
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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