{"id":19317842,"url":"https://github.com/queeniecplusplus/ccnp_ip_acl","last_synced_at":"2026-02-28T07:31:26.590Z","repository":{"id":104588150,"uuid":"276244242","full_name":"QueenieCplusplus/CCNP_IP_ACL","owner":"QueenieCplusplus","description":"IP Access Lists","archived":false,"fork":false,"pushed_at":"2020-07-01T02:18:59.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-24T04:45:02.639Z","etag":null,"topics":["ccnp"],"latest_commit_sha":null,"homepage":"https://github.com/QueenieCplusplus/QuickGoThru/blob/master/README.md#ccnp","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/QueenieCplusplus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-01T01:09:51.000Z","updated_at":"2020-07-01T02:19:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"5bea2567-9a21-4866-9337-e42c09f56b5b","html_url":"https://github.com/QueenieCplusplus/CCNP_IP_ACL","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/QueenieCplusplus/CCNP_IP_ACL","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QueenieCplusplus%2FCCNP_IP_ACL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QueenieCplusplus%2FCCNP_IP_ACL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QueenieCplusplus%2FCCNP_IP_ACL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QueenieCplusplus%2FCCNP_IP_ACL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/QueenieCplusplus","download_url":"https://codeload.github.com/QueenieCplusplus/CCNP_IP_ACL/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QueenieCplusplus%2FCCNP_IP_ACL/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29927567,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T19:37:42.220Z","status":"online","status_checked_at":"2026-02-28T02:00:07.010Z","response_time":90,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ccnp"],"created_at":"2024-11-10T01:16:25.713Z","updated_at":"2026-02-28T07:31:26.573Z","avatar_url":"https://github.com/QueenieCplusplus.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# CCNP IP ACL\nIP Access Lists\n\n\n# IP Standard Access List 標準存取列表\n\n* 常用指令：\n\n        access-list 存取列表\n\n        acess-list-number 存取列表號碼（預設為 1-99, 延伸號碼為 100-199）\n\n        permit 允許\n\n        deny 拒絕\n\n        Source 來源IP位址\n\n        Source-wildcard 來源的運算位元\n\n        any 任何位置，代表 Source address 0.0.0.0 和 Source-wildcard 255.255.255.255\n\n* 指令語法\n\n          (conif)#access-list + list-number \n                     + permit or deny \n                     + tcp or udp or icmp or ip + \n                     src addr + wildcard + src port +\n                     des addr + wildcard + des port\n           \n           (config)# int + number\n           \n           (config-if)#ip + list-number + in\n           \n * 拒絕外來ICMP封包 ping 至自己主機\n \n \n          #access-list 100 deny icmp 10.64.0.2 0.0.0.0 any echo\n          (config)#access-list 100 permit ip any any\n          (config)#int s1 \n          (config-if)#ip access-group 100 in // 將此存取表授予指定介面上\n          \n\n# IP Extended Access List 延伸存取列表\n\n* 延伸目的\n\n提供 SMTP 和 DNS 的服務\n\n* 實際意象\n\n        10.64.0.2\n          Server.  ------------- 10.64.0.0 - E0 - Router - S0 - --------    Internet\n          \n\n\n* 實作範例\n\n\n           R(config)#access-list 130 permit tcp any host 10.64.0.2 eq smtp\n           R(config)#access-list 130 permit udp any eq domain any\n           R(config)#int s0\n           R(config-if)#ip access-group 130 in\n\n\n# Null int 空介面\n\n* 存在目的\n\n單純限制網路封包走向，且不耗損 CPU 的存取控制方式。\n只要指定封包至此介面，便等同丟棄 drop 封包。\n\n* 指令語法\n\n                 #ip route + \u003c des addr \u003e + \u003c mask \u003e + int\n            \n\n* 實作範例\n\n            // 空介面的編號是 null 0\n            // 將送往 203.66.47.0 的封包丟棄\n\n            R(config)#ip route 203.66.47.0 255.255.255.0 null 0\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqueeniecplusplus%2Fccnp_ip_acl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqueeniecplusplus%2Fccnp_ip_acl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqueeniecplusplus%2Fccnp_ip_acl/lists"}