Please, i need help.

I have an site where anyone can upload any video file, and I’m in trouble because the site are getting uploads with ilegal content. Everytime when i delete the video, i also ban the IP of uploader using the command:

sudo iptables -A INPUT -s IP -j DROP

But it just ban for awhile. When i retrieve the list of banned ips, the ips from the past is gone.

And I’m sure for those who are doing this is behind of proxy sites. I don’t know what i should do. Maybe is time to close my site. It was going too well. :(


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Thanks, i did it. About ban the list of proxys IPs. There is a way?

When you restart the server, your Iptables rules will be gone. You can use iptables-persistent to save iptable rules. To install iptables-persistent use the command below.

sudo apt-get update
sudo apt-get install iptables-persistent

When you make a change to iptables, run the following command to save it:

sudo invoke-rc.d iptables-persistent save

You can read more about this here: