Last active
January 1, 2020 17:57
-
-
Save zackn9ne/82d488c63023fbc63bb56414dcb7e8de to your computer and use it in GitHub Desktop.
aws_security_group_for_unifi.sh 8080 8443 8843 8880 6789
This file contains 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
-p 3478:3478/udp \ | |
-p 10001:10001/udp \ | |
-p 8080:8080 \ | |
-p 8081:8081 \ | |
-p 8443:8443 \ | |
-p 8843:8843 \ | |
-p 8880:8880 \ | |
-p 6789:6789 \ | |
aws ec2 create-security-group --description "my security group" --group-name "my-security-group" | |
aws ec2 authorize-security-group-ingress --group-id sg-057057a4bd5a3df7x --protocol udp --port 3478 --cidr 0.0.0.0/0 | |
aws ec2 authorize-security-group-ingress --group-id sg-057057a4bd5a3df7x --protocol udp --port 10001 --cidr 0.0.0.0/0 | |
aws ec2 authorize-security-group-ingress --group-id sg-057057a4bd5a3df7x --protocol tcp --port 8080 --cidr 0.0.0.0/0 | |
aws ec2 authorize-security-group-ingress --group-id sg-057057a4bd5a3df7x --protocol tcp --port 8081 --cidr 0.0.0.0/0 | |
aws ec2 authorize-security-group-ingress --group-id sg-057057a4bd5a3df7x --protocol tcp --port 8443 --cidr 0.0.0.0/0 | |
aws ec2 authorize-security-group-ingress --group-id sg-057057a4bd5a3df7x --protocol tcp --port 8843 --cidr 0.0.0.0/0 | |
aws ec2 authorize-security-group-ingress --group-id sg-057057a4bd5a3df7x --protocol tcp --port 8880 --cidr 0.0.0.0/0 | |
aws ec2 authorize-security-group-ingress --group-id sg-057057a4bd5a3df7x --protocol tcp --port 6789 --cidr 0.0.0.0/0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment