Configuring Default Reject Rules
The following guidelines describe when to configure the default reject rules:
Source address is defined on a multicast network, a loopback address, or a multicast address.
The source or destination address of a packet is a link-local address, an address “reserved for future use” as specified in RFC 5735 for IPv4, an “unspecified address” or an address “reserved for future definition and use” as specified in RFC 3513 for IPv6.
An illegal or out-of-sequence TCP packet is received.
Before you begin, log in with your root account on a Junos OS device running Junos OS Release 17.4R2 and edit the configuration.
You can enter the configuration commands in any order and commit all the commands at once.
To configure default reject rules:
- Configure the security screen features and enable the
IP address spoofing IDS option.[edit security]user@host# set security screen ids-option trustScreen ip spoofing
- Configure the security flow feature to log the dropped
illegal packets.[edit security]user@host# set security flow log dropped-illegal-packet
- Specify the name of the security zone and the IDS option
object applied to the zone.[edit security]user@host# set security zones security-zone trustZone screen trustScreen
- Configure the mandatory TCP reject rule.[edit security]user@host# set security flow tcp-session strict-syn-check