I have blocked some spammer IPs using a custom rule and run the activation script.
At first I added 2 IPs and checked with IPtables -L
Everything was as expected
Then I added another 3 addresses and checked that the activation script lists the appropriate drop lines.
After running the activation script the plesk GUI shows the banned IPs correctly (see attached screenshot)
But if I do an iptables -l or ip6tables -L I do only see 3 of my blocked addresses.
iptables -L | grep DROP.*[0-9].*anywhere
DROP udp -- 149.154.100.84 anywhere
DROP udp -- 178.159.36.58 anywhere
DROP udp -- 185.234.219.30 anywhere
DROP tcp -- 149.154.100.84 anywhere
DROP tcp -- 178.159.36.58 anywhere
DROP tcp -- 185.234.219.30 anywhere
How can I fix the issue?
At first I added 2 IPs and checked with IPtables -L
Everything was as expected
Then I added another 3 addresses and checked that the activation script lists the appropriate drop lines.
After running the activation script the plesk GUI shows the banned IPs correctly (see attached screenshot)
But if I do an iptables -l or ip6tables -L I do only see 3 of my blocked addresses.
iptables -L | grep DROP.*[0-9].*anywhere
DROP udp -- 149.154.100.84 anywhere
DROP udp -- 178.159.36.58 anywhere
DROP udp -- 185.234.219.30 anywhere
DROP tcp -- 149.154.100.84 anywhere
DROP tcp -- 178.159.36.58 anywhere
DROP tcp -- 185.234.219.30 anywhere
How can I fix the issue?
Attachments
Last edited: