LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-11-2009, 07:48 PM   #1
Galaxy_Stranger
Member
 
Registered: Oct 2003
Distribution: CentOS 6 and Fedora
Posts: 252

Rep: Reputation: 36
OpenVPN questions


I decided that I wanted to run a vpn server for ease of use. I got PPTPD running and I was able to connect to it via the PPTP client. Then I figured I'd move to something open-source, so I chose OpenVPN.

The only VPN experience I have is with Microsoft VPN servers, so I expected a window to open up with the other desktop on it.

Can someone explain to me how the non-Microsoft VPNs work differently and what I need to use a desktop remotely through the VPN?
 
Old 09-12-2009, 03:12 PM   #2
walruz
Member
 
Registered: Aug 2009
Location: Buenos Aires
Distribution: Debian/GNU Linux
Posts: 35

Rep: Reputation: 17
Hello there. First of all, you should know that there's a difference between a VPN and a Remote Desktop. A VPN is used, mostly, to access servers (or networks) over a network (usually, the internet). The Remote Desktop protocol (such as Microsofts RDP, Terminal Services, Linux X11 Remote Desktop, and so on) is used to access another computer's "desktop", be it an active session, as in Windows Assistance, or a new session in an X11 server.
Hence, a VPN and a Remote Desktop are two completely different things, and although the usual procedure is to access a Remote Desktop on a network over a VPN, this is not necessary mandatory. Please, let us know what do you want to do and through some light on the scnenario you're using (ie: access a server from another office branch, access your office desktop from your house, etc).
Regarding the difference between VPN protocols.. most of them are in the protocol itself and in the software used. You can't access a PPTP VPN Server with an OpenVPN client, or access a FreeSWAN Server with a Cisco VPN client.
 
Old 09-13-2009, 10:59 AM   #3
Galaxy_Stranger
Member
 
Registered: Oct 2003
Distribution: CentOS 6 and Fedora
Posts: 252

Original Poster
Rep: Reputation: 36
asdfasdf

Thanks for the info, Walruz.

I figured that that was the case, but I didn't know where to go after I got things connected. Everything I've found on the Internet doesn't discuss much past simply installation and configuration and making the actual connection.

Basically, all I'm wanting to do is to vpn into my machine I use as a file server. I usually SSH in, but sometimes it's nice to have a GUI when you're moving files around a lot. So I want to be able to log in and use a desktop environment.

Once I get this sorted out on my home network, it's a snap to forward the right port/s to the server so I can do the same when I'm away from home. It's just a convenience, really. I'm open to just about any method that will allow me to do this securely.

So, basically, I have two machines sitting next to each other on a network, one as a VPN server and the other acts as the client.
 
Old 09-13-2009, 01:32 PM   #4
walruz
Member
 
Registered: Aug 2009
Location: Buenos Aires
Distribution: Debian/GNU Linux
Posts: 35

Rep: Reputation: 17
Well.. as for moving files through a GUI, the solution can be using SCP. Putty PSCP or Midnight Commander on Linux, or WinSCP on windows.

Now.. if you want to use a Desktop environment, the solutions can be
- VNC (link here)
- X11 Remote desktop (on Gnome 2.2 this feature is easily accesed through the System/Preferences menu.. KDE or other DM may have its differences)

As you can see.. a VPN is overkill for this tasks since you don't need it at all if both computers are on the same network. On the other hand, if you're going to do this over the internet, an encrypted VPN or a SSH Connection is the answer (but in the end, you'll be using SCP or a Remote Desktop protocol app OVER the link created by the VPN or SSH connection).

Hope this helps
 
  


Reply



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
OpenVPN client has not default gateway when connect to OpenVPN server sailershen Linux - Security 3 03-04-2010 02:20 AM
openVPN help DigiCrime Linux - Networking 1 08-25-2008 10:24 AM
OpenVPN nbnamp Linux - Networking 1 02-08-2008 04:01 AM
OpenVPN Question : connecting 5-6 comps with OpenVPN duryodhan Linux - Networking 7 02-15-2007 10:28 PM
noob openvpn questions babag Linux - Networking 5 07-10-2006 11:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:27 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