ufw-reject
Reject traffic through the firewall. tldr-pages
On Linux
Linux
Reject traffic through the firewall. Similar to ufw deny, but sends a rejection response instead of silently dropping packets.
Reject all traffic on a port
sudo ufw reject portIdentifyTrips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community
Reject traffic for a protocol on a port
sudo ufw reject port/protocolIdentifyTrips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community
Reject incoming traffic for a protocol and add a comment for documentation
sudo ufw reject in protocol comment 'comment'IdentifyTrips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community
Reject all traffic from a source address
sudo ufw reject from source_addressIdentifyTrips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community
Reject all incoming traffic from the subnet 192.168.13.0/24
sudo ufw reject from 192.168.13.0/24IdentifyTrips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community
Reject traffic from a source address to a destination on a specific port and protocol
sudo ufw reject from source_address to destination_address port port proto protocolIdentifyTrips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community
Reject all incoming traffic on an interface to a destination IP
sudo ufw reject in on interface to destination_addressIdentifyTrips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community