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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Newbie here dealing with network security (!). I have an ftp/sshd/NX server that I need to access from the internet.
Originally, I accessed my server via ssh and ftp using passwords. I routinely closed these ports remotely via hardware firewall when I didn't need them. The firewall has an https web server (password protected) that is always accessible from the internet. So... I always had at least one port open on the network (firewall's web interface) and sometimes two (sshd) or three (ftpd).
Recently, I added a vpn utilizing shared-secret-keys (no passwords=no brute force attacks), and now can close off ports 21 and 22 to the outside. I think that I can even close the firewall's web interface to the outside too, right? Instead of 2 or 3 open ports I'll have one - which won't be susceptible to brute force attacks. Plus, I can still use all the above services once I'm connected to the vpn.
Aside from the threat of a stolen laptop with the shared-secret-key, am I right thinking that my new setup is more secure? Am I getting a free lunch?
Is your setup more secure? That is a tough question to answer as it depends on many factors. Based on what you have said, I would say yes for the reason that you are providing less exposure to the outside world by limiting your connections via OpenVPN.
Most of the 'script' attacks either try to brute force port 22 or scan of ssh. You have neither and will bypass most of that. To the best of my knowledge, there isn't a whole lot of interest in OpenVPN's port (UDP on port 1194) so you probably won't attract a lot of interest. Then as you pointed out, connections are based upon a password-less authentication using keys, which is reasonably secure.