Junos OS Firewalls Flashcards

1
Q

What is the function of a firewall in Junos OS?

A

A firewall in Junos OS is used to filter traffic based on security policies, blocking or allowing traffic between different networks or zones.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How can you configure a basic firewall filter in Junos OS?

A

You can configure a basic firewall filter in Junos OS using the commands: set firewall family inet filter <filter-name> term <term-name> from <criteria> then accept.</criteria></term-name></filter-name>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the difference between a security policy and a firewall filter in Junos OS?

A

A security policy defines rules for controlling traffic between security zones, while a firewall filter provides granular control over traffic filtering, often used for controlling ingress and egress traffic on interfaces.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How do you apply a firewall filter to an interface in Junos OS?

A

You apply a firewall filter to an interface using the command: set interfaces <interface-name> unit 0 family inet filter input <filter-name>.</filter-name></interface-name>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the concept of security zones in Junos OS?

A

Security zones are logical grouping of interfaces in Junos OS that define the trust level of the interfaces, such as untrusted (outside) and trusted (inside) zones.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How do you configure a security policy in Junos OS?

A

You configure a security policy in Junos OS by defining rules for traffic between security zones using the command: set security policies from-zone <zone1> to-zone <zone2> policy <policy-name> match source-address <src-addr> destination-address <dst-addr> application <app> then permit.</app></dst-addr></src-addr></policy-name></zone2></zone1>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What command is used to view active firewall sessions in Junos OS?

A

You can view active firewall sessions in Junos OS using the command: show security flow session.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the common actions available in a Junos OS firewall filter rule?

A

The common actions in a firewall filter rule are “accept,” “discard,” and “reject,” which define how traffic should be handled based on the rule’s criteria.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How can you troubleshoot firewall filter issues in Junos OS?

A

You can troubleshoot firewall filter issues by using commands like show firewall, show security policies, and reviewing logs with show log messages.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the purpose of stateful inspection in Junos OS firewalls?

A

Stateful inspection in Junos OS tracks the state of active connections and ensures that only packets belonging to valid sessions are allowed through, providing more advanced security than simple packet filtering.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly