PrepAway - Latest Free Exam Questions & Answers

Which configuration, when applied to interface lo0.0, will provide the desired result?

You need to prevent people outside the 192.168.1.0/24 network from accessing your Junos device
using FTP.
Which configuration, when applied to interface lo0.0, will provide the desired result?

PrepAway - Latest Free Exam Questions & Answers

A.
firewall {
family inet {
filter protect-host {
term limit-ftp {
from {
source-address {
192.168.1.0/24 except;
0.0.0.0/0;
}
port ftp;
}
then discard;
}}}}

B.
firewall {
family inet {
filter protect-host {
term limit-ftp {
from {
source-address {
192.168.1.0/24 except;
0.0.0.0/0;
}
protocol tcp;

port ftp;
}
then discard;
}
term all-else {
then accept;
}}}}

C.
firewall {
family inet {
filter protect-host {
term limit-ftp {
from {
source-address {
192.168.1.0/24;
}
port ftp;
}
then discard;
}}}}

D.
firewall {
family inet {
filter protect-host {
term limit-ftp {
from {
source-address {
192.168.1.0/24;
}
protocol tcp;
port ftp;
}
then discard;
}
term all-else {
then accept;
}}}}

Explanation:


Leave a Reply