By Nay
The changes I done:
Should I install some firewall to protect more my Ubuntu 14.04? What is the best firewall?
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!
If you have ubuntu installed, then you already have a firewall installed because ubuntu includes UFW (uncomplicated firewall). You just need to enable it for the ports you are using… here are the commands for some of the more common ports as examples…
sudo ufw allow ssh (instructs firewall to allow port 22 ssh connections) sudo ufw allow 80/tcp (instructs firewall to allow port 80 http connections) sudo ufw allow 443/tcp (instructs firewall to allow port 443 https connections) sudo ufw allow 25/tcp (instructs firewall to allow port 25 smtp connections) sudo ufw show added (instructs firewall to show added connections) sudo ufw enable (enables firewall)
Hope that helps :)
Good luck!
You could ofcourse increase your server security. For example you could use:
And you could ofcourse use IPTables to setup a nice secure system. For example, I’ve setup IPTables to only allow incoming connections on important ports (ssh,ftp etc.) from my IP adress and block all other. That makes it alot more secure as well, you could ofcourse think of other ideas.
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.