Create Date: May 3 2013 2:16PM
HiI'm not quite getting ACL's so far. I have a few vlans all with ipforwarding enabled and ips for the vlans.vlan 1 10.10.1.0/24vlan 2 10.10.2.0/24
I was hoping the following would allow ping from vlan 1 to vlan 2 but block all else, but it doesn't seem to work, do i need to also allow the return traffic or am i incorrect..so if i create this policy (below) and configure via :
configure access-list thepolicy vlan "Vlan 2"
Code:
@description "Allow ICMP ping"
entry ping_allow_echo_request
{
if {
protocol icmp;
icmp-type echo-request;
source-address 10.10.1.0/24;
} then {
permit;
}
}
@description "Default block all"
entry deny_default_all {
if {
}
then {
deny;
}
}
(from conrad_jones)