Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
If I open my server to http/ssh requests, I was wondering if there was any way if someone could attack and gain access easier if I were to open it this way? Is there any way to prevent this? I have fail2ban and keys so far.
Problem here isn't the port but what you run on it. Any outdated CMS, forum, shopping cart, photo gallery or other software including themes, plug-ins, add-ons and whatnot will be probed for. Having fail2ban is good but mod_security, maybe a reverse proxy, but most of all preventing any situation from occurring or escalating should be common sense. So what will you be running?
a website (apache, or nginx), sftp, and that should be it.
Apache is an example of web server software. I mean web site software. Anyway, whatever CMS, forum or other software you'll be running: read its (security) documentation, keep everything up to date, harden, audit regularly, respond to reporting, use common sense.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.