Linux - Security This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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. |
|
 |
08-12-2010, 12:55 AM
|
#1
|
|
LQ Newbie
Registered: Dec 2009
Location: Central/Northern New York, USA
Distribution: slackware-current
Posts: 15
Rep:
|
Any disadvantages of shared secret keys (openvpn)
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?
Thanks for any input.
|
|
|
|
08-16-2010, 03:15 AM
|
#2
|
|
Senior Member
Registered: Jul 2007
Distribution: Ubuntu 10.10, Slackware 64-current
Posts: 2,047
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:42 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|