Block ip range iptables 225. In this case, insert (iptables -I) the rule either: as the first rule; sudo iptables -I or before the allow rule; sudo iptables --line-numbers -vnL. Armed with the background above, let‘s walk through how to use iptables commands to block a specific IP address from accessing your server. Linux firewalls like iptables, firewalld, and UFW allow directors to dam entire IP tiers efficaciously. 10 -j DROP. 100 -j DROP If you are still able to connect from that IP address, then check with tcpdump, if you are actually connecting with that IP, or if for some reason (Proxy, VPN, ) you are visible on the host with the iptables rules as another IP May 30, 2021 ยท Creating rules using the Plesk Firewall utility is painful. Blocking a range of IP addresses: $ sudo iptables -A INPUT -s 10. Run the following command to block the IP address: sudo iptables -I INPUT -s xxx. 0/8 subnet on the private side. sudo iptables -P OUTPUT ACCEPT sudo iptables -A OUTPUT -s 157. rpabxfm tdtmqt wbcpj vrxkv ucijm mxathyh ugawic bcngn ucgz fsgwpm