LinuxQuestions.org
Register a domain and help support LQ
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 04-28-2006, 12:51 AM   #1
HGeneAnthony
Member
 
Registered: Mar 2003
Posts: 178

Rep: Reputation: 30
Can I use OpenVPN to create a secure connection for Remote Desktop


I was interested in setting up a VPN at my work to login to Windows with Remote Desktop. I wanted to use OpenVPN and tunnel it through my Linux server however I'm not sure how this would work. I currently have a Linksys router set up there. I'm not really sure of the logic in how this would work. Would I need to set the Linux server up before the router, after the router, etc.? I'm trying to understand the logic.
 
Old 04-28-2006, 08:46 PM   #2
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,227

Rep: Reputation: 86
Dunno OpenVPN, but if you only want a remote desktop, a VNC throught ssh will be easier and very secure, depending of the length and complexity of your password.
You'll have to forward the port (22 for ssh) from your router to your server.

There's plenty of threads around explaining how to do that.
Basically, you launch a VNC server and ssh server on your box.
Then, you connect from win$ with ssh, specifying you wanna tunnel the X11 port (5900), then you launch VNC client, targeting win$ (the X11 port is tunnelled).
 
Old 04-28-2006, 09:57 PM   #3
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
yes you could use OpenVPN. once you configure your VPN connection (the vpn connection should be able to pass through the router with no trouble, although you may have to forward a couple ports) you can use rdesktop on the linux box to access the windows terminal services (rdp) on the WinXP machine.

You can also make use of something like carpaltunnel or openvpn-admin to assist in configuring the VPN connection


http://www.rdesktop.org/


another option is ssl explorer, it is also basically a SSL VPN that works on windows / linux and you can use rdestop through it as well..
http://3sp.com/showSslExplorer.do?referrer=sslexplorer
 
Old 04-29-2006, 02:06 AM   #4
HGeneAnthony
Member
 
Registered: Mar 2003
Posts: 178

Original Poster
Rep: Reputation: 30
Reply

I'll take a look into it. Thank you both for your help!
 
Old 04-29-2006, 05:50 AM   #5
HGeneAnthony
Member
 
Registered: Mar 2003
Posts: 178

Original Poster
Rep: Reputation: 30
Reply

The thing is the VPN isn't for me it's for the people up there. I recommended OpenSSH before to the IT director and he felt if it's more than clicking a button it's too difficult for them. As far as rdesktop I haven't used it before, however these people need to connect from Windows to Windows and use the Linux server in the middle for the VPN if at all possible, sorta like some routers offer. It seems like the Windows machine they connect to wouldn't have VPN. The VPN session would be betweem the Linux server and the client machine. Everything would encrypt between the two and then the Linux server would send the data to the Windows host machine.
 
  


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
Secure remote desktop with Linux? VNC? SSH? VPN? sauce Linux - Security 3 12-16-2005 01:24 PM
Remote Desktop Connection sara_mit2001 Linux - General 5 10-09-2004 06:41 PM
making openvpn secure with openssl ( ? ) antken Linux - Networking 1 03-31-2004 09:14 AM
Remote desktop connection jaws75 Linux - Networking 3 09-24-2003 10:14 AM
Remote Desktop Connection Da_Quest Linux - Networking 2 08-15-2003 10:29 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration