Linux/Ubuntu: Avoid connection from specific ip address without using iptables

PHOTO EMBED

Mon Aug 29 2022 14:48:49 GMT+0000 (UTC)

Saved by @marcopinero #bash

$ sudo ip route add prohibit <ip address to block>/32

#Ex: sudo ip route add prohibit 58.15.238.31/32
content_copyCOPY

Block connections from specific ip address without using iptables.