Network ACLs should enforce outbound traffic restrictions

이 페이지는 아직 영어로 제공되지 않습니다. 번역 작업 중입니다.
현재 번역 프로젝트에 대한 질문이나 피드백이 있으신 경우 언제든지 연락주시기 바랍니다.

Description

Investigate AWS Network Access Control Lists (NACLs) for rules that utilize multiple ports and limit outbound traffic access to a specific port range.

Rationale

Eliminate the threat of unauthorized access by setting a specified port range.

Remediation

From the console

Follow the Adding and deleting rules docs to limit ingress traffic access based on port range.

From the command line

  1. Run replace-network-acl-entry to create a rule that sets a specific port range for egress traffic.

    replace-network-acl-entry.sh

        aws ec2 replace-network-acl-entry
            --network-acl-id id-01234567
            --egress
            --rule-number 02
            --protocol tcp
            --port-range From=000,To=000
            --rule-action allow
        
PREVIEWING: brett.blue/embedded-collector-release