Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free.
Presumably you mean a Virtual Private Sever, root on a linux server with an
internet ip address and bandwidth.
If you are paying for managed service then your provider should answer questions like this. Ask them.
If there are no security holes then you don't need a firewall. If you have security holes you should fix the holes. If you are running services that should not be accessable from other machine then turn off the services or configure them to only listen on the localhost interface.
I should add that if you want to go for maximum possible secuirty over the box being easy to use you could add a firewall to block all connection excepts those that are known to be required, eg if the box just runs a webserver you could block all connections except incoming connections to port 80. If someone cracks the box using an exploit for the web server software and you have the server processing running as a none root user they will have trouble spawning a shell on another port, ftping a rootkit into the box and doing other typical activity.
The "everything that is not specifically permitted is forbidden" approach is a pain when you firewall yourself out of the box and can't connect with
ssh. Blocking all outgoing connections will break non passive mode ftp.