In access contorl list
acl all src
0.0.0.0
/
0.0.0.0

acl target dst
192.168.0.1

http_access deny target
http_access allow all
it mean allow all user clinet to access internet but all user deny to access the 192.168.0.1
but
http_access allow all
http_access deny target
mean all user clinet to access internet not block any site.
if want to deny the access for a src group (i.e. clinet user), it need
to indicate "http_access deny" before "http_access allow".
本文介绍了一种使用ACL(访问控制列表)来控制网络流量的方法。通过设置特定的源地址和目标地址,可以实现允许所有客户端访问互联网,同时阻止访问特定IP(如192.168.0.1)。此外,还解释了如何根据源地址组来实施更复杂的访问控制。

被折叠的 条评论
为什么被折叠?



