Reflect-acl Configuration Guide
5 min
\<font color="#1d50a2">introduction\</font> reflective acl is a state based dynamic access control technology primarily used for network security protection its core principle involves monitoring outbound sessions initiated from the internal network to automatically generate temporary reverse rules these rules permit response traffic to return while blocking unauthorized access initiated from external sources \<font color="#1d50a2">reflect acl configuration\</font> \<font color="#1d50a2">create reflect acl table\</font> operation command description enter the system configuration view configure terminal create and enter the system configuration view access list {reflect l3|reflect l3v6} string {ingress|egress} \[des crip string ] \<font color="#1d50a2">l3/l3v6 matching filter\</font> keywords description ip protocol ip protocol type, can be configured using either the numeric value or protocol name src ip source ip address (with subnet mask), e g , "10 1 1 1/24" dst ip destination ip address (with subnet mask), e g , "10 1 1 1/24" src port protocol source port number dst port protocol destination port number dst dns group dns field, see chapter 14 for details geosite geosite field, see chapter 15 for details geoip geoip field, see chapter 15 for details \<font color="#1d50a2">example of reflect acl configuration\</font> network requirements interface 1 of the router connects to internal network users, while interface 2 connects to the internet configure a reflexive acl on the outbound direction of interface 2 internal network hosts must first access servers on the internet before internet servers are permitted to access internal network hosts procedure sonic(config)# access list reflect l3 test egress sonic(config reflect l3 acl test)# rule 1 src ip 80 0 0 100 packet action permit sonic(config reflect l3 acl test)# exit sonic(config)# interface ethernet 2 sonic(config if 2)# acl test
