LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 06-04-2007, 11:05 PM   #1
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Rep: Reputation: 60
VPN vs SSH


what is the difference between a VPN and SSH. which one is more secure. SSH can tunnel so why is VPN preferred?
 
Old 06-05-2007, 02:06 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well the two are totally different really. a VPN is typically preferred as it can seamlessly join two remote networks so they behave as if they were all local. with ssh tunnelling etc, it's a case of picking this port, that destination ip etc, whereas with a real vpn, you just have access to the entire site directly.
 
Old 06-05-2007, 01:29 PM   #3
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Original Poster
Rep: Reputation: 60
Is there a particular UDP/TCP port that VPN's typically run on like for example like Cisco VPN?
 
Old 06-05-2007, 03:36 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
depends what kind of VPN you have. a "full on" vpn would generally be IPSEC based, which is neither TCP nor UDP (although does sometimes pretend to be either one to get through firewalls effectively). various initialization protocols use ports 500, 4500 and 10000 though. SSL vpn's can just run over port 443 like https does.
 
Old 06-06-2007, 10:25 AM   #5
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Original Poster
Rep: Reputation: 60
acid_kewpie, you are the man. I had one more question I passed the first test of the LPI and I am going to study and take the next at the end of this month. Do you know of any good study material url that can help me out? I am also going to take the security + just to get a basic security cert!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH -2 as secure as VPN? Lexia Linux - Networking 1 02-23-2007 03:24 PM
ssh tunnel and VPN metallica1973 Linux - Security 5 05-12-2006 12:54 AM
VPN, SSH and VNC roofninja Linux - General 2 04-06-2006 01:27 PM
ssh + vpn = right choise? spoody_goon Linux - Networking 7 01-07-2006 02:47 PM
VPN Tunnel Through SSH gauge73 Linux - Networking 4 05-16-2004 08:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 03:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration