Greetings,
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. :(
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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: https://www.digitalocean.com/community/tutorials/how-to-set-up-a-firewall-using-iptables-on-ubuntu-14-04
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.