How do I allow access to a port from a public host other than the default SSH and RDP ports in AWS?
You can do this via the Amazon Web Services (AWS) Management Console:
- Add new inbound rules to the security group of the instance you want to allow additional access.
- Navigate to ‘Services’ -> ‘VPC’ and select ‘Security Groups’ on the left menu.
- Select the Security Group to edit, click the ‘Inbound Rules’ tab then ‘Edit’.
- Add an inbound rule by choosing the type, protocol, port range and source, then click ‘Add another rule’ and ‘Save’.
- Add inbound ACL rules to allow access to the network that contains the instance.
- Navigate to ‘Services’ -> ‘VPC’ -> ‘Network ACLs’ and then click the ‘Inbound Rules’ tab. Click ‘Edit’.
- Add an inbound rule by specifying a rule number, type, protocol, port range and source.
- Click ‘Add Another Rule’ and ‘Save’.