This article provides information on how to determine the sequence of events that an input/output firewall list will perform, when it is applied to an interface.
Firewall filters have a different behavior regarding implicit deny , when using the input-list/output-list to apply it to the interface.
Normally a firewall filter will have an implicit deny at the end of the filter, which denies everything that does not match the filter. The filter is then applied to the interface by using an input/output statement, according to the direction in which the filter needs to be applied. The Input-list/Output-list is used to apply multiple filter modules to an interface. When applying the filters using the input-list/output-list, only the implicit deny of the last filter module is considered. Example :
user@router# show firewall filter test term 1 from { source-address { 172.16.1.1/32; } } then accept; } } filter test1 { from { source-address { 192.16.1.1/32; } } then accept; } }
user@router# show firewall filter test
term 1
from {
source-address {
172.16.1.1/32;
}
} then accept;
filter test1 {
192.16.1.1/32;
then accept;
term 1 {
user@router# show interfaces ge-0/1/1 unit 0 { filter { input-list [ test test1 ]; } } }
user@router# show interfaces ge-0/1/1 unit 0 {
filter {
input-list [ test test1 ];
family inet {